From b950c0849c374e2d577c4b142d510c18736b7210 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 6 Jun 2015 12:19:26 -0700 Subject: [PATCH] Use %zu, not %zd, to print a size_t value (%zd would be for ssize_t). Change-Id: I3aee7028cc43ca487492b0c5c6872be5c52d1a80 Reviewed-on: https://code.wireshark.org/review/8799 Reviewed-by: Guy Harris --- tools/make_charset_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/make_charset_table.c b/tools/make_charset_table.c index d1bfa6403d..27d921a454 100644 --- a/tools/make_charset_table.c +++ b/tools/make_charset_table.c @@ -74,7 +74,7 @@ int main(int argc, char **argv) { iconv_close(conv); if (ret != 0 || inlen != 0 || outlen != 0) { - fprintf(stderr, "%d: smth went wrong: %zd %zd %zd\n", i, ret, inlen, outlen); + fprintf(stderr, "%d: smth went wrong: %zu %zu %zu\n", i, ret, inlen, outlen); return 3; }