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/080_invcoord_cp/invcoord_cp_tests.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/080_invcoord_cp') diff --git a/test/080_invcoord_cp/invcoord_cp_tests.c b/test/080_invcoord_cp/invcoord_cp_tests.c index 2eb9ae2..7d1e33f 100644 --- a/test/080_invcoord_cp/invcoord_cp_tests.c +++ b/test/080_invcoord_cp/invcoord_cp_tests.c @@ -2,12 +2,12 @@ #define FACT_8 40320 -int64_t coord_cp(cube_t); -cube_t invcoord_cp(int64_t); +uint64_t coord_cp(cube_t); +cube_t invcoord_cp(uint64_t); void run(void) { oriented_cube_t cube; - int64_t coord, coord2; + uint64_t coord, coord2; cube.orientation = 0; @@ -22,8 +22,8 @@ void run(void) { coord2 = coord_cp(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