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/120_gendata_eo/gendata_eo_tests.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/120_gendata_eo') diff --git a/test/120_gendata_eo/gendata_eo_tests.c b/test/120_gendata_eo/gendata_eo_tests.c index 46a0606..08c495e 100644 --- a/test/120_gendata_eo/gendata_eo_tests.c +++ b/test/120_gendata_eo/gendata_eo_tests.c @@ -15,10 +15,10 @@ Pruning table values (from nissy): #define ISIZE 512 #define FULLSIZE (ISIZE + 1024) -char buf[FULLSIZE]; +unsigned char buf[FULLSIZE]; -size_t gendata_coord_dispatch(const char *, void *); -bool readtableinfo(uint64_t, const char *, tableinfo_t *); +size_t gendata_coord_dispatch(const char *, unsigned char *); +bool readtableinfo(uint64_t, const unsigned char *, tableinfo_t *); void run(void) { uint32_t i; -- cgit v1.3