diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-04-15 16:45:36 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-04-15 16:45:36 +0000 |
commit | 71327cd21e3dcc793dd6e0cf99f5295e58e0322c (patch) | |
tree | a3a3ccb34fac959d37f6e2480186344b7602a6a8 /test/parse2-auto.c | |
parent | f3871ddf33d016499a7dac7613e9acbc0ca47eb2 (diff) | |
download | libcss-71327cd21e3dcc793dd6e0cf99f5295e58e0322c.tar.gz libcss-71327cd21e3dcc793dd6e0cf99f5295e58e0322c.tar.bz2 |
More c89isms
svn path=/trunk/libcss/; revision=7100
Diffstat (limited to 'test/parse2-auto.c')
-rw-r--r-- | test/parse2-auto.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/parse2-auto.c b/test/parse2-auto.c index dd3c529..c6426be 100644 --- a/test/parse2-auto.c +++ b/test/parse2-auto.c @@ -192,8 +192,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, (int) explen, exp); - printf("Result (%zu):\n%.*s\n", 2 * explen - buflen, + printf("Expected (%u):\n%.*s\n", + (int) explen, (int) explen, exp); + printf("Result (%u):\n%.*s\n", (int) (2 * explen - buflen), (int) (2 * explen - buflen), buf); assert(0 && "Result doesn't match expected"); } |