From ea0387796a349c91032fbcb10f50c6ad8607b0f6 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 29 Jul 2025 12:12:43 +0200 Subject: All coordinates unsigned --- test/112_cocsep_selfsim/cocsep_selfsim_tests.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/112_cocsep_selfsim') diff --git a/test/112_cocsep_selfsim/cocsep_selfsim_tests.c b/test/112_cocsep_selfsim/cocsep_selfsim_tests.c index 1a1c6f2..2abe476 100644 --- a/test/112_cocsep_selfsim/cocsep_selfsim_tests.c +++ b/test/112_cocsep_selfsim/cocsep_selfsim_tests.c @@ -8,13 +8,13 @@ #include "../test.h" size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *); -int64_t coord_cocsep(cube_t); +uint64_t coord_cocsep(cube_t); void run(void) { char str[STRLENMAX]; unsigned char buf[2000000]; uint32_t *cocsepdata, data; - int64_t coord, coclass; + uint64_t coord, coclass; uint64_t selfsim[COCSEP_CLASSES], sim, t; oriented_cube_t cube; cube_t rep[COCSEP_CLASSES]; @@ -32,7 +32,7 @@ void run(void) { sim = selfsim[coclass]; for (t = 0; t < 48 && sim; t++, sim >>= 1) { if (sim & 1) - printf("%" PRId64 " ", t); + printf("%" PRIu64 " ", t); } printf("\n"); } -- cgit v1.3