Fixed mingw64 build and warnings
This commit is contained in:
parent
1c89d592b7
commit
9d42bf534d
16 changed files with 43 additions and 46 deletions
|
@ -105,7 +105,7 @@ SDL_DINPUT_HapticInit(void)
|
|||
instance = GetModuleHandle(NULL);
|
||||
if (instance == NULL) {
|
||||
SDL_SYS_HapticQuit();
|
||||
return SDL_SetError("GetModuleHandle() failed with error code %d.",
|
||||
return SDL_SetError("GetModuleHandle() failed with error code %lu.",
|
||||
GetLastError());
|
||||
}
|
||||
ret = IDirectInput8_Initialize(dinput, instance, DIRECTINPUT_VERSION);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue