diff options
Diffstat (limited to 'apple_remote')
-rw-r--r-- | apple_remote/source/HIDRemoteControlDevice.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apple_remote/source/HIDRemoteControlDevice.m b/apple_remote/source/HIDRemoteControlDevice.m index e855266012c0..c7c62635d137 100644 --- a/apple_remote/source/HIDRemoteControlDevice.m +++ b/apple_remote/source/HIDRemoteControlDevice.m @@ -359,7 +359,7 @@ static void QueueCallbackFunction(void* target, IOReturn result, void* refcon, if (((int)event.elementCookie)!=5) { sumOfValues+=event.value; - [cookieString appendString:[NSString stringWithFormat:@"%lld_", (long long) event.elementCookie]]; + [cookieString appendString:[NSString stringWithFormat:@"%lld_", (long long) (intptr_t) event.elementCookie]]; } } [remote handleEventWithCookieString: cookieString sumOfValues: sumOfValues]; |