Kaydet (Commit) b98e598c authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: cast from pointer to integer of different size

Change-Id: I28195a347dd63b7e44268a396aa70150c917e55f
üst 73985cb4
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment