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/081_invcoord_epud/invcoord_epud_tests.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/081_invcoord_epud') diff --git a/test/081_invcoord_epud/invcoord_epud_tests.c b/test/081_invcoord_epud/invcoord_epud_tests.c index bf444cc..6d7672b 100644 --- a/test/081_invcoord_epud/invcoord_epud_tests.c +++ b/test/081_invcoord_epud/invcoord_epud_tests.c @@ -2,12 +2,12 @@ #define FACT_8 40320 -int64_t coord_epud(cube_t); -cube_t invcoord_epud(int64_t); +uint64_t coord_epud(cube_t); +cube_t invcoord_epud(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_epud(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