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/079_invcoord_co/invcoord_co_tests.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/079_invcoord_co') diff --git a/test/079_invcoord_co/invcoord_co_tests.c b/test/079_invcoord_co/invcoord_co_tests.c index fcd68d0..dd5853e 100644 --- a/test/079_invcoord_co/invcoord_co_tests.c +++ b/test/079_invcoord_co/invcoord_co_tests.c @@ -2,12 +2,12 @@ #define POW_3_7 2187 -int64_t coord_co(cube_t); -cube_t invcoord_co(int64_t); +uint64_t coord_co(cube_t); +cube_t invcoord_co(uint64_t); void run(void) { oriented_cube_t cube; - int64_t coord, coord2; + uint64_t coord, coord2; cube.orientation = 0; @@ -26,8 +26,8 @@ void run(void) { coord2 = coord_co(cube.cube); if (coord != coord2) { - printf("Error: invcoord of %" PRId64 - " returns %" PRId64 "\n", coord, coord2); + printf("Error: invcoord of %" PRIu64 + " returns %" PRIu64 "\n", coord, coord2); return; } } -- cgit v1.3