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/104_cocsep_ttrep/cocsep_ttrep_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/104_cocsep_ttrep') diff --git a/test/104_cocsep_ttrep/cocsep_ttrep_tests.c b/test/104_cocsep_ttrep/cocsep_ttrep_tests.c index 0b853c3..87975a4 100644 --- a/test/104_cocsep_ttrep/cocsep_ttrep_tests.c +++ b/test/104_cocsep_ttrep/cocsep_ttrep_tests.c @@ -3,11 +3,11 @@ uint8_t inverse_trans(uint8_t); cube_t transform_corners(cube_t, uint8_t); int64_t coord_cocsep(cube_t); -size_t gendata_cocsep(void *, uint64_t *, cube_t *); +size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *); void run(void) { uint8_t t; - char buf[2000000]; + unsigned char buf[2000000]; uint32_t *cocsepdata, tt; uint64_t i, selfsim[COCSEP_CLASSES]; int64_t j, k, l; -- cgit v1.3