From 4a062f23c6736cf29b37c631aa615918a35f8c2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sat, 21 Jul 2018 12:22:01 +0200 Subject: [PATCH] glut: fix a warning on x86_64. --- src/libs/glut/glutGameMode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/glut/glutGameMode.cpp b/src/libs/glut/glutGameMode.cpp index dada4212ac..b3eb2961c5 100644 --- a/src/libs/glut/glutGameMode.cpp +++ b/src/libs/glut/glutGameMode.cpp @@ -207,7 +207,7 @@ GlutGameMode::_FindMatchingMode() int bestMode = -1; for (uint32 i =0; i < fModesCount; i++) { - printf("[%ld]: %d x %d, %d Bpp, %d Hz\n", i, + printf("[%" B_PRId32 "]: %d x %d, %d Bpp, %d Hz\n", i, fModesList[i].virtual_width, fModesList[i].virtual_height, _GetModePixelDepth(&fModesList[i]), _GetModeRefreshRate(&fModesList[i]));