From: Sebastian Pop Date: Thu, 17 Jan 2019 16:32:25 +0000 (-0600) Subject: fix warning with configure --debug X-Git-Tag: 1.9.9-b1~552 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3045b4170be007591008ea6b77e8ea621093cfe;p=thirdparty%2Fzlib-ng.git fix warning with configure --debug arch/x86/deflate_quick.c:184:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘size_t {aka long unsigned int}’ [-Wformat=] --- diff --git a/arch/x86/deflate_quick.c b/arch/x86/deflate_quick.c index 789ef323..31118a46 100644 --- a/arch/x86/deflate_quick.c +++ b/arch/x86/deflate_quick.c @@ -181,7 +181,7 @@ static void static_emit_tree(deflate_state *const s, const int flush) { static void static_emit_end_block(deflate_state *const s, int last) { send_code(s, END_BLOCK, static_ltree); - Tracev((stderr, "\n+++ Emit End Block: Last: %u Pending: %u Total Out: %u\n", last, s->pending, s->strm->total_out)); + Tracev((stderr, "\n+++ Emit End Block: Last: %u Pending: %u Total Out: %zu\n", last, s->pending, s->strm->total_out)); if (last) bi_windup(s);