mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-04 19:55:19 +00:00
SDL_dinputhaptic.c, SDL_dinputjoystick.c: replace %lu usage with new cygwin-friendly macros.
This commit is contained in:
parent
e972e6a01b
commit
880ddb9ca3
2 changed files with 2 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ bool SDL_DINPUT_HapticInit(void)
|
|||
instance = GetModuleHandle(NULL);
|
||||
if (!instance) {
|
||||
SDL_SYS_HapticQuit();
|
||||
return SDL_SetError("GetModuleHandle() failed with error code %lu.",
|
||||
return SDL_SetError("GetModuleHandle() failed with error code %" SDL_PRIuULONG ".",
|
||||
GetLastError());
|
||||
}
|
||||
ret = IDirectInput8_Initialize(dinput, instance, DIRECTINPUT_VERSION);
|
||||
|
|
|
|||
|
|
@ -431,7 +431,7 @@ bool SDL_DINPUT_JoystickInit(void)
|
|||
if (!instance) {
|
||||
IDirectInput8_Release(dinput);
|
||||
dinput = NULL;
|
||||
return SDL_SetError("GetModuleHandle() failed with error code %lu.", GetLastError());
|
||||
return SDL_SetError("GetModuleHandle() failed with error code %" SDL_PRIuULONG ".", GetLastError());
|
||||
}
|
||||
result = IDirectInput8_Initialize(dinput, instance, DIRECTINPUT_VERSION);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue