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/105_gendata_eoesep/gendata_eoesep_tests.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/105_gendata_eoesep') diff --git a/test/105_gendata_eoesep/gendata_eoesep_tests.c b/test/105_gendata_eoesep/gendata_eoesep_tests.c index 62c36bc..0c22d7f 100644 --- a/test/105_gendata_eoesep/gendata_eoesep_tests.c +++ b/test/105_gendata_eoesep/gendata_eoesep_tests.c @@ -23,10 +23,10 @@ The test does not generate the full table. For reference, these are the values: #define ISIZE 512 #define FULLSIZE (ISIZE + (CL*1024) + (4*EMAX)) -char buf[FULLSIZE]; +unsigned char buf[FULLSIZE]; -size_t gendata_eoesep(char [static FULLSIZE], uint8_t); -bool readtableinfo(uint64_t, const char *, tableinfo_t *); +size_t gendata_eoesep(unsigned char [static FULLSIZE], uint8_t); +bool readtableinfo(uint64_t, const unsigned char *, tableinfo_t *); void run(void) { uint32_t i; -- cgit v1.3