src/joystick/darwin/SDL_sysjoystick.c
branchgsoc2008_force_feedback
changeset 2639 668fee3b268a
parent 2638 db93456d4b26
child 2640 e8a54b6fd512
--- a/src/joystick/darwin/SDL_sysjoystick.c	Sun Aug 10 19:47:02 2008 +0000
+++ b/src/joystick/darwin/SDL_sysjoystick.c	Sun Aug 10 19:53:58 2008 +0000
@@ -649,7 +649,7 @@
 
         /* We have to do some storage of the io_service_t for
          * SDL_HapticOpenFromJoystick */
-        if (FFIsForceFeedback(device) == FF_OK) {
+        if (FFIsForceFeedback((io_service_t)device) == FF_OK) {
            device->ffservice = ioHIDDeviceObject;
         }
         else {