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/121_coorddata_dr/coorddata_dr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/121_coorddata_dr') diff --git a/test/121_coorddata_dr/coorddata_dr.c b/test/121_coorddata_dr/coorddata_dr.c index 707d605..9432b4c 100644 --- a/test/121_coorddata_dr/coorddata_dr.c +++ b/test/121_coorddata_dr/coorddata_dr.c @@ -5,15 +5,15 @@ #define TGROUP UINT64_C(4278190335) cube_t transform(cube_t, uint8_t); -uint64_t coordinate_dr_coord(cube_t, const void *); -cube_t coordinate_dr_cube(uint64_t, const void *); -uint64_t coordinate_dr_gendata(void *); +uint64_t coordinate_dr_coord(cube_t, const unsigned char *); +cube_t coordinate_dr_cube(uint64_t, const unsigned char *); +uint64_t coordinate_dr_gendata(unsigned char *); void run(void) { bool found; uint64_t t; char str[STRLENMAX]; - void *data; + unsigned char *data; size_t size; cube_t cube; uint64_t coord, coord2; -- cgit v1.3