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 *. --- test/112_gendata_h48short/gendata_h48short_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/112_gendata_h48short') diff --git a/test/112_gendata_h48short/gendata_h48short_tests.c b/test/112_gendata_h48short/gendata_h48short_tests.c index 2ed42c1..0de9408 100644 --- a/test/112_gendata_h48short/gendata_h48short_tests.c +++ b/test/112_gendata_h48short/gendata_h48short_tests.c @@ -5,7 +5,7 @@ void h48map_create(h48map_t [static 1], uint64_t, uint64_t); void h48map_destroy(h48map_t [static 1]); kvpair_t h48map_nextkvpair(h48map_t [static 1], uint64_t [static 1]); -size_t gendata_cocsep(void *, uint64_t *, cube_t *); +size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *); uint64_t gendata_h48short(gendata_h48short_arg_t [static 1]); char str[STRLENMAX]; @@ -25,7 +25,7 @@ uint64_t readl(void) { } void run(void) { - char buf[2000000]; + unsigned char buf[2000000]; h48map_t map; uint64_t i, j, capacity, randomizer, selfsim[COCSEP_CLASSES]; kvpair_t kv, b[MAXPOS]; -- cgit v1.3