From df3647c9c8f145c813ec8c7bd4ec5a6f81d89666 Mon Sep 17 00:00:00 2001 From: Rikard Falkeborn Date: Sun, 6 May 2018 21:20:32 +0200 Subject: tests: Fix format specifiers --- tests/unit/unit1395.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/unit/unit1395.c') diff --git a/tests/unit/unit1395.c b/tests/unit/unit1395.c index 527f28142..78fdfa021 100644 --- a/tests/unit/unit1395.c +++ b/tests/unit/unit1395.c @@ -79,13 +79,13 @@ UNITTEST_START abort_unless(out != NULL, "returned NULL!"); if(strcmp(out, pairs[i].output)) { - fprintf(stderr, "Test %d: '%s' gave '%s' instead of '%s'\n", + fprintf(stderr, "Test %u: '%s' gave '%s' instead of '%s'\n", i, pairs[i].input, out, pairs[i].output); fail("Test case output mismatched"); fails++; } else - fprintf(stderr, "Test %d: OK\n", i); + fprintf(stderr, "Test %u: OK\n", i); free(out); } -- cgit v1.2.3