diff --git a/src/joystick/gdk/SDL_gameinputjoystick.c b/src/joystick/gdk/SDL_gameinputjoystick.c index 1a510de59001c..13b51082402d6 100644 --- a/src/joystick/gdk/SDL_gameinputjoystick.c +++ b/src/joystick/gdk/SDL_gameinputjoystick.c @@ -261,7 +261,7 @@ static bool GAMEINPUT_JoystickInit(void) hR = GameInputCreateFunc(&g_pGameInput); if (FAILED(hR)) { - return SDL_SetError("GameInputCreate failure with HRESULT of %08X", hR); + return SDL_SetError("GameInputCreate failure with HRESULT of %08lX", hR); } } @@ -274,7 +274,7 @@ static bool GAMEINPUT_JoystickInit(void) GAMEINPUT_InternalJoystickDeviceCallback, &g_GameInputCallbackToken); if (FAILED(hR)) { - return SDL_SetError("IGameInput::RegisterDeviceCallback failure with HRESULT of %08X", hR); + return SDL_SetError("IGameInput::RegisterDeviceCallback failure with HRESULT of %08lX", hR); } // Calculate the relative offset between SDL timestamps and GameInput timestamps