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>
This commit is contained in:
Guy Harris 2015-06-06 12:19:26 -07:00
parent cd2e901fd9
commit b950c0849c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}