diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2010-10-10 17:58:58 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2010-10-10 17:58:58 +0300 |
commit | d52b411716a614c202e89ba732492efb9916cd3f (patch) | |
tree | 9db49b2a2bd85336f3dc8dc9453f183ff833355b /src/xz | |
parent | test_files.sh: Fix the first line. (diff) | |
download | xz-d52b411716a614c202e89ba732492efb9916cd3f.tar.xz |
xz: Use "%"PRIu32 instead of "%d" in a format string.
Diffstat (limited to 'src/xz')
-rw-r--r-- | src/xz/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/message.c b/src/xz/message.c index 279fefe1..3f2b813d 100644 --- a/src/xz/message.c +++ b/src/xz/message.c @@ -1072,7 +1072,7 @@ message_version(void) // It is possible that liblzma version is different than the command // line tool version, so print both. if (opt_robot) { - printf("XZ_VERSION=%d\nLIBLZMA_VERSION=%d\n", + printf("XZ_VERSION=%" PRIu32 "\nLIBLZMA_VERSION=%" PRIu32 "\n", LZMA_VERSION, lzma_version_number()); } else { printf("xz (" PACKAGE_NAME ") " LZMA_VERSION_STRING "\n"); |