mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-07-16 22:11:07 +00:00
Cygwin: Reduce warning
[sdl-ci-filter cygwin]
[sdl-ci-filter msys2-*]
[sdl-ci-filter msvc-*]
(cherry picked from commit bb74b618ac)
This commit is contained in:
committed by
Sam Lantinga
parent
e5648d4437
commit
3eb9b5e49a
@@ -230,7 +230,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)
|
||||
|
||||
Reference in New Issue
Block a user