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 *. --- tools/nissy_extra.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tools/nissy_extra.h') diff --git a/tools/nissy_extra.h b/tools/nissy_extra.h index 505f53a..63d171b 100644 --- a/tools/nissy_extra.h +++ b/tools/nissy_extra.h @@ -9,7 +9,6 @@ for testing purposes only. #include "../src/solvers/tables_types_macros.h" #include "../src/solvers/tables.h" -size_t gendata_h48_derive(uint8_t, const void *, void *); +size_t gendata_h48_derive(uint8_t, const unsigned char *, unsigned char *); int parse_h48_solver(const char *, uint8_t [static 1], uint8_t [static 1]); -long long int nissy_datainfo(uint64_t, const char *); -long long int nissy_derivedata(const char *, const void *, void *); +long long int nissy_datainfo(uint64_t, const unsigned char *); -- cgit v1.3