mirror of
https://github.com/yawut/SDL.git
synced 2026-06-09 01:50:08 -05:00
Fixed compiler warning on 64-bit builds.
This commit is contained in:
parent
8948722528
commit
1230f810bd
|
|
@ -520,7 +520,7 @@ SDL_SYS_JoystickIsHaptic(SDL_Joystick * joystick)
|
|||
int
|
||||
SDL_SYS_JoystickSameHaptic(SDL_Haptic * haptic, SDL_Joystick * joystick)
|
||||
{
|
||||
if (IOObjectIsEqualTo((io_object_t) haptic->hwdata->device,
|
||||
if (IOObjectIsEqualTo((io_object_t) ((size_t)haptic->hwdata->device),
|
||||
joystick->hwdata->ffservice))
|
||||
return 1;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user