aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-10-10 16:49:01 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-10-10 16:49:01 +0300
commitd492b80ddd6f9a13419de6d102df7374d8f448e8 (patch)
treeeabc7e767fe4de35565db8484faa3c777a69809d
parentlzmainfo: Use fileno(stdin) instead of STDIN_FILENO. (diff)
downloadxz-d492b80ddd6f9a13419de6d102df7374d8f448e8.tar.xz
lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t.
Diffstat (limited to '')
-rw-r--r--src/lzmainfo/lzmainfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lzmainfo/lzmainfo.c b/src/lzmainfo/lzmainfo.c
index 5f1d6798..3100dc63 100644
--- a/src/lzmainfo/lzmainfo.c
+++ b/src/lzmainfo/lzmainfo.c
@@ -155,7 +155,7 @@ lzmainfo(const char *name, FILE *f)
lzma_options_lzma *opt = filter.options;
printf("\nDictionary size: "
- "%u MB (2^%u bytes)\n"
+ "%" PRIu32 " MB (2^%" PRIu32 " bytes)\n"
"Literal context bits (lc): %" PRIu32 "\n"
"Literal pos bits (lp): %" PRIu32 "\n"
"Number of pos bits (pb): %" PRIu32 "\n",