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/100_gendata_cocsep/gendata_cocsep_tests.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/100_gendata_cocsep') diff --git a/test/100_gendata_cocsep/gendata_cocsep_tests.c b/test/100_gendata_cocsep/gendata_cocsep_tests.c index 91ebb52..46b9443 100644 --- a/test/100_gendata_cocsep/gendata_cocsep_tests.c +++ b/test/100_gendata_cocsep/gendata_cocsep_tests.c @@ -2,11 +2,11 @@ #define BUF_SIZE 2000000 -size_t gendata_cocsep(void *, uint64_t *, cube_t *); -bool readtableinfo(uint64_t, const char *, tableinfo_t *); +size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *); +bool readtableinfo(uint64_t, const unsigned char *, tableinfo_t *); void run(void) { - char buf[BUF_SIZE]; + unsigned char buf[BUF_SIZE]; uint32_t i; uint64_t selfsim[COCSEP_CLASSES]; cube_t rep[COCSEP_CLASSES]; -- cgit v1.3