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/114_cocsep_ttrep/cocsep_ttrep_tests.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/114_cocsep_ttrep') diff --git a/test/114_cocsep_ttrep/cocsep_ttrep_tests.c b/test/114_cocsep_ttrep/cocsep_ttrep_tests.c index 87975a4..c5c1bb5 100644 --- a/test/114_cocsep_ttrep/cocsep_ttrep_tests.c +++ b/test/114_cocsep_ttrep/cocsep_ttrep_tests.c @@ -2,7 +2,7 @@ uint8_t inverse_trans(uint8_t); cube_t transform_corners(cube_t, uint8_t); -int64_t coord_cocsep(cube_t); +uint64_t coord_cocsep(cube_t); size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *); void run(void) { @@ -10,7 +10,7 @@ void run(void) { unsigned char buf[2000000]; uint32_t *cocsepdata, tt; uint64_t i, selfsim[COCSEP_CLASSES]; - int64_t j, k, l; + uint64_t j, k, l; cube_t rep[COCSEP_CLASSES], c, d; gendata_cocsep(buf, selfsim, rep); @@ -26,8 +26,8 @@ void run(void) { k = coord_cocsep(d); l = coord_cocsep(c); if (k != l) - printf("cocsep %" PRId64 " (%" PRId64 "): " - "%" PRId64 " ttrep %" PRIu32 + printf("cocsep %" PRIu64 " (%" PRIu64 "): " + "%" PRIu64 " ttrep %" PRIu32 " -> %" PRId64 "\n", i, l, j, tt, k); } } -- cgit v1.3