From 4c735b57f7cea253db2c863b75dcce2462fa77db Mon Sep 17 00:00:00 2001 From: Rikard Falkeborn Date: Fri, 11 May 2018 17:34:55 +0200 Subject: tool: Fix format specifiers --- src/tool_cb_dbg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tool_cb_dbg.c') diff --git a/src/tool_cb_dbg.c b/src/tool_cb_dbg.c index aa1ef857c..16bfb4208 100644 --- a/src/tool_cb_dbg.c +++ b/src/tool_cb_dbg.c @@ -146,7 +146,7 @@ int tool_debug_cb(CURL *handle, curl_infotype type, if(!config->isatty || ((output != stderr) && (output != stdout))) { if(!newl) fprintf(output, "%s%s ", timebuf, s_infotype[type]); - fprintf(output, "[%zd bytes data]\n", size); + fprintf(output, "[%zu bytes data]\n", size); newl = FALSE; traced_data = TRUE; } @@ -229,7 +229,7 @@ static void dump(const char *timebuf, const char *text, /* without the hex output, we can fit more on screen */ width = 0x40; - fprintf(stream, "%s%s, %zd bytes (0x%zx)\n", timebuf, text, size, size); + fprintf(stream, "%s%s, %zu bytes (0x%zx)\n", timebuf, text, size, size); for(i = 0; i < size; i += width) { -- cgit v1.2.3