From 510a7471348788fccba6b7c4b9f7b7cc9aee6ba9 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 21 Apr 2025 14:33:01 +0200 Subject: Always use unsigned char * for data buffers Before this commit I was inconsistently using one of void *, char * and uint8_t *. --- src/nissy.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/nissy.h') diff --git a/src/nissy.h b/src/nissy.h index c23f338..a5b3015 100644 --- a/src/nissy.h +++ b/src/nissy.h @@ -329,7 +329,7 @@ long long nissy_gendata( const char *solver, unsigned long long data_size, - char data[data_size] + unsigned char data[data_size] ); /* @@ -347,7 +347,7 @@ Return values: long long nissy_checkdata( unsigned long long data_size, - const char data[data_size] + const unsigned char data[data_size] ); /* @@ -395,7 +395,7 @@ nissy_solve( unsigned optimal, unsigned threads, unsigned long long data_size, - const char data[data_size], + const unsigned char data[data_size], unsigned sols_size, char sols[sols_size], long long stats[static NISSY_SIZE_SOLVE_STATS] -- cgit v1.3