mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
xz: Use "%"PRIu32 instead of "%d" in a format string.
This commit is contained in:
parent
ae74d1bdeb
commit
d52b411716
1 changed files with 1 additions and 1 deletions
|
@ -1072,7 +1072,7 @@ message_version(void)
|
||||||
// It is possible that liblzma version is different than the command
|
// It is possible that liblzma version is different than the command
|
||||||
// line tool version, so print both.
|
// line tool version, so print both.
|
||||||
if (opt_robot) {
|
if (opt_robot) {
|
||||||
printf("XZ_VERSION=%d\nLIBLZMA_VERSION=%d\n",
|
printf("XZ_VERSION=%" PRIu32 "\nLIBLZMA_VERSION=%" PRIu32 "\n",
|
||||||
LZMA_VERSION, lzma_version_number());
|
LZMA_VERSION, lzma_version_number());
|
||||||
} else {
|
} else {
|
||||||
printf("xz (" PACKAGE_NAME ") " LZMA_VERSION_STRING "\n");
|
printf("xz (" PACKAGE_NAME ") " LZMA_VERSION_STRING "\n");
|
||||||
|
|
Loading…
Reference in a new issue