lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t.
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 10 Oct 2010 13:49:01 +0000 (16:49 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Sun, 10 Oct 2010 13:49:01 +0000 (16:49 +0300)
src/lzmainfo/lzmainfo.c

index 5f1d679..3100dc6 100644 (file)
@@ -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",