aboutsummaryrefslogtreecommitdiff
path: root/test/105_gendata_eoesep
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-04-21 14:33:01 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-04-21 14:44:07 +0200
commit510a7471348788fccba6b7c4b9f7b7cc9aee6ba9 (patch)
tree58df7791242d9a4f52e80da93ad3af20ed5e3528 /test/105_gendata_eoesep
parent1d9b8acfeece68c4f55d2499d8aed127f98a383c (diff)
downloadnissy-core-510a7471348788fccba6b7c4b9f7b7cc9aee6ba9.tar.gz
nissy-core-510a7471348788fccba6b7c4b9f7b7cc9aee6ba9.zip
Always use unsigned char * for data buffers
Before this commit I was inconsistently using one of void *, char * and uint8_t *.
Diffstat (limited to 'test/105_gendata_eoesep')
-rw-r--r--test/105_gendata_eoesep/gendata_eoesep_tests.c6
1 files changed, 3 insertions, 3 deletions
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:
23#define ISIZE 512 23#define ISIZE 512
24#define FULLSIZE (ISIZE + (CL*1024) + (4*EMAX)) 24#define FULLSIZE (ISIZE + (CL*1024) + (4*EMAX))
25 25
26char buf[FULLSIZE]; 26unsigned char buf[FULLSIZE];
27 27
28size_t gendata_eoesep(char [static FULLSIZE], uint8_t); 28size_t gendata_eoesep(unsigned char [static FULLSIZE], uint8_t);
29bool readtableinfo(uint64_t, const char *, tableinfo_t *); 29bool readtableinfo(uint64_t, const unsigned char *, tableinfo_t *);
30 30
31void run(void) { 31void run(void) {
32 uint32_t i; 32 uint32_t i;

Generated with cgit - Back to sebastiano.tronto.net