joystick/gdk/SDL_gameinputjoystick.c: fix build errors due to -Wformat
Some checks are pending
Build (All) / Create test plan (push) Waiting to run
Build (All) / level1 (push) Blocked by required conditions
Build (All) / level2 (push) Blocked by required conditions

This commit is contained in:
Ozkan Sezer 2024-11-17 00:45:02 +03:00
parent af6ce629c4
commit 0f9e551d71

View file

@ -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