Commit f57776836f24d66d993f1290d9c71e201c667869

Sam Lantinga 2022-12-09T10:22:18

Fixed build

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/test/SDL_test_common.c b/src/test/SDL_test_common.c
index e0dfbcc..f0790f5 100644
--- a/src/test/SDL_test_common.c
+++ b/src/test/SDL_test_common.c
@@ -1540,7 +1540,7 @@ static void SDLTest_PrintEvent(SDL_Event *event)
             SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " ICC profile changed", event->window.windowID);
             break;
         case SDL_WINDOWEVENT_DISPLAY_CHANGED:
-            SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " display changed to %d", event->window.windowID, event->window.data1);
+            SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " display changed to %" SDL_PRIs32 "", event->window.windowID, event->window.data1);
             break;
         default:
             SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " got unknown event 0x%4.4x",