summaryrefslogtreecommitdiff
path: root/test/stringcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/stringcomp.c')
-rw-r--r--test/stringcomp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/stringcomp.c b/test/stringcomp.c
index e95a3c4..e93791a 100644
--- a/test/stringcomp.c
+++ b/test/stringcomp.c
@@ -55,8 +55,9 @@ main(int argc, char *argv[])
"round-trip test failed: dumped map differs from original\n");
fprintf(stderr, "path to original file: %s\n",
test_get_path(DATA_PATH));
- fprintf(stderr, "length: dumped %zu, original %zu\n",
- strlen(dump), strlen(original));
+ fprintf(stderr, "length: dumped %lu, original %lu\n",
+ (unsigned long) strlen(dump),
+ (unsigned long) strlen(original));
fprintf(stderr, "dumped map:\n");
fprintf(stderr, "%s\n", dump);
fflush(stderr);