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
     1.1 --- a/ucx/test.c	Tue Sep 19 14:13:40 2017 +0200
     1.2 +++ b/ucx/test.c	Tue Sep 19 14:16:26 2017 +0200
     1.3 @@ -86,6 +86,6 @@
     1.4          elem->test(suite, output);
     1.5      }
     1.6      fwrite("\nAll test completed.\n", 1, 21, output);
     1.7 -    fprintf(output, "  Total:   %d\n  Success: %d\n  Failure: %d\n",
     1.8 +    fprintf(output, "  Total:   %u\n  Success: %u\n  Failure: %u\n",
     1.9              suite->success+suite->failure, suite->success, suite->failure);
    1.10  }

mercurial