tiny compile fix for PowerMac
authorMike Erwin <significant.bit@gmail.com>
Fri, 1 Jul 2011 00:58:47 +0000 (00:58 +0000)
committerMike Erwin <significant.bit@gmail.com>
Fri, 1 Jul 2011 00:58:47 +0000 (00:58 +0000)
intern/ghost/intern/GHOST_NDOFManagerCocoa.mm

index 826d0c6b3192ac822991830f50f9d5a91b72f6e7..1c8730a2804429b8946b97e69192fdba2009b6ba 100644 (file)
@@ -47,7 +47,7 @@ static void NDOF_DeviceAdded(io_connect_t connection)
 #endif
 
        // determine exactly which device is plugged in
-       int result = 0;
+       SInt32 result = 0;
        ConnexionControl(kConnexionCtlGetDeviceID, 0, &result);
        unsigned short vendorID = result >> 16;
        unsigned short productID = result & 0xffff;