diff options
Diffstat (limited to 'test/parse2-auto.c')
-rw-r--r-- | test/parse2-auto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parse2-auto.c b/test/parse2-auto.c index 5f6b8bf..59ae220 100644 --- a/test/parse2-auto.c +++ b/test/parse2-auto.c @@ -188,9 +188,9 @@ void run_test(const uint8_t *data, size_t len, const char *exp, size_t explen) dump_sheet(sheet, buf, &buflen); if (2 * explen - buflen != explen || memcmp(buf, exp, explen) != 0) { - printf("Expected (%zu):\n%.*s\n", explen, explen, exp); + printf("Expected (%zu):\n%.*s\n", explen, (int) explen, exp); printf("Result (%zu):\n%.*s\n", 2 * explen - buflen, - 2 * explen - buflen, buf); + (int) (2 * explen - buflen), buf); assert(0 && "Result doesn't match expected"); } |