fix signal sending on 64bit ios
This commit is contained in:
parent
4322d71714
commit
ddfd949a71
|
@ -39,7 +39,8 @@ static bool initLibrary() {
|
|||
bool StatusServiceSignalEvent(const char *jsonEvent) {
|
||||
if (!initLibrary()) return false;
|
||||
|
||||
objc_msgSend(statusServiceClassRef, statusServiceSelector, jsonEvent);
|
||||
void (*action)(id, SEL, const char *) = (void (*)(id, SEL, const char *)) objc_msgSend;
|
||||
action(statusServiceClassRef, statusServiceSelector, jsonEvent);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue