diff options
author | Jakub Jelen <jjelen@redhat.com> | 2022-10-07 11:16:11 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2022-10-19 10:37:19 +0900 |
commit | b77e7a225bc40ea09fa66969625b97b09a1cbf23 (patch) | |
tree | a0b465947ebcbb655dff3ed794274670d89005ff /tests/hashtest.c | |
parent | 4e7941587c95fc3ae5fb5686346855395ef6754b (diff) | |
download | libgcrypt-b77e7a225bc40ea09fa66969625b97b09a1cbf23.tar.gz |
tests: Use proper format string for size_t
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'tests/hashtest.c')
-rw-r--r-- | tests/hashtest.c | 4 |
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) |