summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/hashtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hashtest.c b/tests/hashtest.c
index 379f7c40..05b06f36 100644
--- a/tests/hashtest.c
+++ b/tests/hashtest.c
@@ -434,11 +434,11 @@ run_longtest (int algo, int gigs)
if (hugepattern != NULL)
memset(hugepattern, 'a', hugesize);
else
- show_note ("failed to allocate %d GiB huge pattern block: %s",
+ show_note ("failed to allocate %zu GiB huge pattern block: %s",
hugegigs, strerror(errno));
}
else
- show_note ("cannot allocate %d GiB huge pattern block on 32-bit system",
+ show_note ("cannot allocate %zu GiB huge pattern block on 32-bit system",
hugegigs);
}
if (hugepattern == NULL)