--- rcxlib/RCX_USBTowerPipe_osx.cpp.orig 2011-05-08 18:40:04.000000000 -0700
+++ rcxlib/RCX_USBTowerPipe_osx.cpp 2011-05-08 18:40:07.000000000 -0700
static void ReadCompletionGlue(void *refCon, IOReturn result, void *arg0);
- void ReadCompletion(IOReturn result, UInt32 n);
+ void ReadCompletion(IOReturn result, uintptr_t n);
void SetTimeout(long timeout_ms);
-void RCX_USBTowerPipe_osx::ReadCompletion(IOReturn result, UInt32 n)
+void RCX_USBTowerPipe_osx::ReadCompletion(IOReturn result, uintptr_t n)
if (result == kIOReturnAborted) return;
void RCX_USBTowerPipe_osx::ReadCompletionGlue(void *refCon, IOReturn result, void *arg0)
RCX_USBTowerPipe_osx* pipe = (RCX_USBTowerPipe_osx*)refCon;
- pipe->ReadCompletion(result, (UInt32)arg0);
+ pipe->ReadCompletion(result, (uintptr_t)arg0);