Skip to content

Commit

Permalink
Fixed compiler warning on 64-bit builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 22, 2011
1 parent dc54dce commit 6ec64c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/haptic/darwin/SDL_syshaptic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6ec64c0

Please sign in to comment.