fixes wrong format specifier in test result output

Tue, 19 Sep 2017 14:16:26 +0200

author
Mike Becker <universe@uap-core.de>
date
Tue, 19 Sep 2017 14:16:26 +0200
changeset 247
ecd242949641
parent 246
21bb9849a765
child 248
dff45a2234ce

fixes wrong format specifier in test result output

ucx/test.c file | annotate | diff | comparison | revisions
--- a/ucx/test.c	Tue Sep 19 14:13:40 2017 +0200
+++ b/ucx/test.c	Tue Sep 19 14:16:26 2017 +0200
@@ -86,6 +86,6 @@
         elem->test(suite, output);
     }
     fwrite("\nAll test completed.\n", 1, 21, output);
-    fprintf(output, "  Total:   %d\n  Success: %d\n  Failure: %d\n",
+    fprintf(output, "  Total:   %u\n  Success: %u\n  Failure: %u\n",
             suite->success+suite->failure, suite->success, suite->failure);
 }

mercurial