aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib552.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2018-05-06 21:20:32 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-14 09:42:27 +0200
commitdf3647c9c8f145c813ec8c7bd4ec5a6f81d89666 (patch)
tree07dd2519e6b18a6c2a325ff4f2ac32bb06073e6e /tests/libtest/lib552.c
parenteb49683e5591900b0c79fd9649a5aaf5549ea61f (diff)
tests: Fix format specifiers
Diffstat (limited to 'tests/libtest/lib552.c')
-rw-r--r--tests/libtest/lib552.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib552.c b/tests/libtest/lib552.c
index 5082eb044..83797f3c2 100644
--- a/tests/libtest/lib552.c
+++ b/tests/libtest/lib552.c
@@ -46,11 +46,11 @@ void dump(const char *text,
/* without the hex output, we can fit more on screen */
width = 0x40;
- fprintf(stream, "%s, %d bytes (0x%x)\n", text, (int)size, (int)size);
+ fprintf(stream, "%s, %zu bytes (0x%zx)\n", text, size, size);
for(i = 0; i<size; i += width) {
- fprintf(stream, "%04x: ", (int)i);
+ fprintf(stream, "%04zx: ", i);
if(!nohex) {
/* hex not disabled, show it */