summaryrefslogtreecommitdiff
path: root/apple_remote
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-07-28 09:48:15 +0300
committerTor Lillqvist <tml@iki.fi>2012-07-28 09:50:10 +0300
commitb98e598cc43653952c9668d93f072f68646875c4 (patch)
tree6f9744849a7ab4704ecc327ce23b44501c916a36 /apple_remote
parent73985cb4df6ecdeb2257758d115b7501031ee987 (diff)
WaE: cast from pointer to integer of different size
Change-Id: I28195a347dd63b7e44268a396aa70150c917e55f
Diffstat (limited to 'apple_remote')
-rw-r--r--apple_remote/source/HIDRemoteControlDevice.m2
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];