Commit 1f575098 authored by Ryan C. Gordon's avatar Ryan C. Gordon

Fixed compiler warning on 64-bit builds.

parent 747072f8
...@@ -520,7 +520,7 @@ SDL_SYS_JoystickIsHaptic(SDL_Joystick * joystick) ...@@ -520,7 +520,7 @@ SDL_SYS_JoystickIsHaptic(SDL_Joystick * joystick)
int int
SDL_SYS_JoystickSameHaptic(SDL_Haptic * haptic, SDL_Joystick * joystick) 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)) joystick->hwdata->ffservice))
return 1; return 1;
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment