summaryrefslogtreecommitdiff
path: root/apple_remote
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-07-23 18:19:56 +0300
committerTor Lillqvist <tml@iki.fi>2012-07-28 09:07:28 +0300
commitaef42e168d1dd26ed89b2f0574dbd066828b8882 (patch)
tree24bd37591cde2dfd5a54e9ff57ad8574d47085b7 /apple_remote
parent29c6b31442754b4cbbf0e326f2f96530c5e724a5 (diff)
WaE: format specifies type 'int' but the argument has type 'void *'
Change-Id: I0b8fad6adcef16fb93e4cc0d1beec8e5ae2a3c79
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 8883a1804dc0..e855266012c0 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:@"%d_", event.elementCookie]];
+ [cookieString appendString:[NSString stringWithFormat:@"%lld_", (long long) event.elementCookie]];
}
}
[remote handleEventWithCookieString: cookieString sumOfValues: sumOfValues];