bin/version: Fix -Wformat=
Change-Id: I71fd38b6d1bb1782170438b27f66c462dcec0f0b Reviewed-on: https://review.haiku-os.org/c/1514 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
6ba31e25d7
commit
312640b12c
@ -56,9 +56,9 @@ get_version(const char *filename, version_kind kind, bool longFlag, bool numeric
|
||||
}
|
||||
|
||||
if (numericalFlag) {
|
||||
printf("%lu ", version.major);
|
||||
printf("%lu ", version.middle);
|
||||
printf("%lu ", version.minor);
|
||||
printf("%" B_PRIu32 " ", version.major);
|
||||
printf("%" B_PRIu32 " ", version.middle);
|
||||
printf("%" B_PRIu32 " ", version.minor);
|
||||
|
||||
switch (version.variety) {
|
||||
case B_DEVELOPMENT_VERSION:
|
||||
@ -86,7 +86,7 @@ get_version(const char *filename, version_kind kind, bool longFlag, bool numeric
|
||||
break;
|
||||
}
|
||||
|
||||
printf("%lu\n", version.internal);
|
||||
printf("%" B_PRIu32 "\n", version.internal);
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user