From bb74b618ac3b681ec07c7c6bd1b12f75ee6f707b Mon Sep 17 00:00:00 2001 From: Tim Stahlhut Date: Sat, 23 May 2026 21:23:16 -0400 Subject: [PATCH] Cygwin: Reduce warning [sdl-ci-filter cygwin] [sdl-ci-filter msys2-*] [sdl-ci-filter msvc-*] --- src/joystick/windows/SDL_dinputjoystick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/joystick/windows/SDL_dinputjoystick.c b/src/joystick/windows/SDL_dinputjoystick.c index 0a940609b8..54d06a138e 100644 --- a/src/joystick/windows/SDL_dinputjoystick.c +++ b/src/joystick/windows/SDL_dinputjoystick.c @@ -231,7 +231,7 @@ const DIDATAFORMAT SDL_c_dfDIJoystick2 = { // Convert a DirectInput return code to a text message static bool SetDIerror(const char *function, HRESULT code) { - return SDL_SetError("%s() DirectX error 0x%8.8lx", function, code); + return SDL_SetError("%s() DirectX error 0x%8.8" SDL_PRIxSLONG, function, code); } static bool SDL_IsXInputDevice(Uint16 vendor_id, Uint16 product_id, const char *hidPath)