From d492b80ddd6f9a13419de6d102df7374d8f448e8 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 10 Oct 2010 16:49:01 +0300 Subject: [PATCH] lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t. --- src/lzmainfo/lzmainfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lzmainfo/lzmainfo.c b/src/lzmainfo/lzmainfo.c index 5f1d679..3100dc6 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", -- 2.7.4