[Libreoffice-commits] .: apple_remote/source
Tor Lillqvist
tml at kemper.freedesktop.org
Fri Jul 27 23:51:28 PDT 2012
apple_remote/source/HIDRemoteControlDevice.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b98e598cc43653952c9668d93f072f68646875c4
Author: Tor Lillqvist <tml at iki.fi>
Date: Sat Jul 28 09:48:15 2012 +0300
WaE: cast from pointer to integer of different size
Change-Id: I28195a347dd63b7e44268a396aa70150c917e55f
diff --git a/apple_remote/source/HIDRemoteControlDevice.m b/apple_remote/source/HIDRemoteControlDevice.m
index e855266..c7c6263 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];
More information about the Libreoffice-commits
mailing list