bin/listfont: Fix -Wformat=
Change-Id: Ifa451635a6ff3d42b916d7e535b41db347d6d1bf Reviewed-on: https://review.haiku-os.org/c/1510 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
d8bf363563
commit
b8a9c31265
@ -140,16 +140,23 @@ main(int argc, char **argv)
|
|||||||
printf(", ");
|
printf(", ");
|
||||||
|
|
||||||
int32 tunedCount = font.CountTuned();
|
int32 tunedCount = font.CountTuned();
|
||||||
printf("%ld tuned", tunedCount);
|
printf("%" B_PRId32 " tuned", tunedCount);
|
||||||
|
|
||||||
if (displayTuned) {
|
if (displayTuned) {
|
||||||
printf(":");
|
printf(":");
|
||||||
for (int32 i = 0; i < tunedCount; i++) {
|
for (int32 i = 0; i < tunedCount; i++) {
|
||||||
tuned_font_info info;
|
tuned_font_info info;
|
||||||
font.GetTunedInfo(i, &info);
|
font.GetTunedInfo(i, &info);
|
||||||
printf("\n\t(size %4.1f, shear %5.3f, rot. %5.3f, flags 0x%lx, face 0x%x)",
|
printf("\n\t(size %4.1f, "
|
||||||
|
"shear %5.3f, "
|
||||||
|
"rot. %5.3f, "
|
||||||
|
"flags 0x%" B_PRIx32 ", "
|
||||||
|
"face 0x%x)",
|
||||||
info.size,
|
info.size,
|
||||||
info.shear, info.rotation, info.flags, info.face);
|
info.shear,
|
||||||
|
info.rotation,
|
||||||
|
info.flags,
|
||||||
|
info.face);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user