aboutsummaryrefslogtreecommitdiff
path: root/test/104_cocsep_ttrep
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/104_cocsep_ttrep
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/104_cocsep_ttrep')
-rw-r--r--test/104_cocsep_ttrep/cocsep_ttrep_tests.c4
1 files changed, 2 insertions, 2 deletions
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 @@
3uint8_t inverse_trans(uint8_t); 3uint8_t inverse_trans(uint8_t);
4cube_t transform_corners(cube_t, uint8_t); 4cube_t transform_corners(cube_t, uint8_t);
5int64_t coord_cocsep(cube_t); 5int64_t coord_cocsep(cube_t);
6size_t gendata_cocsep(void *, uint64_t *, cube_t *); 6size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *);
7 7
8void run(void) { 8void run(void) {
9 uint8_t t; 9 uint8_t t;
10 char buf[2000000]; 10 unsigned char buf[2000000];
11 uint32_t *cocsepdata, tt; 11 uint32_t *cocsepdata, tt;
12 uint64_t i, selfsim[COCSEP_CLASSES]; 12 uint64_t i, selfsim[COCSEP_CLASSES];
13 int64_t j, k, l; 13 int64_t j, k, l;

Generated with cgit - Back to sebastiano.tronto.net