diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-06-06 12:19:26 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-06-06 19:20:19 +0000 |
commit | b950c0849c374e2d577c4b142d510c18736b7210 (patch) | |
tree | 562f1dd4cda08b56c3b1523dc0e649c87e21c91b /tools/make_charset_table.c | |
parent | cd2e901fd9304dc456d89c54b8eed1505795d1f3 (diff) |
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 <guy@alum.mit.edu>
Diffstat (limited to 'tools/make_charset_table.c')
-rw-r--r-- | tools/make_charset_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |