diff options
Diffstat (limited to 'testlimits.c')
-rw-r--r-- | testlimits.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/testlimits.c b/testlimits.c index 577f593c..68c94dbc 100644 --- a/testlimits.c +++ b/testlimits.c @@ -1284,13 +1284,14 @@ saxTest(const char *filename, size_t limit, int options, int fail) { if (fail) res = 0; else { - fprintf(stderr, "Failed to parse '%s' %lu\n", filename, limit); + fprintf(stderr, "Failed to parse '%s' %lu\n", filename, + (unsigned long) limit); res = 1; } } else { if (fail) { fprintf(stderr, "Failed to get failure for '%s' %lu\n", - filename, limit); + filename, (unsigned long) limit); res = 1; } else res = 0; @@ -1339,7 +1340,7 @@ readerTest(const char *filename, size_t limit, int options, int fail) { filename, crazy_indx); else fprintf(stderr, "Failed to parse '%s' %lu\n", - filename, limit); + filename, (unsigned long) limit); res = 1; } } else { @@ -1349,7 +1350,7 @@ readerTest(const char *filename, size_t limit, int options, int fail) { filename, crazy_indx); else fprintf(stderr, "Failed to get failure for '%s' %lu\n", - filename, limit); + filename, (unsigned long) limit); res = 1; } else res = 0; |