mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
Explicitly cast the trampoline prototype to IMP
Summary: public Add explicitly cast to the trampoline prototype to silence warnings. Reviewed By: javache Differential Revision: D2605779 fb-gh-sync-id: e208b69236c1b87bb1374ee493840ea5f47b371c
This commit is contained in:
parent
99158f0d5a
commit
63015b911c
@ -241,7 +241,7 @@ void RCTProfileHookModules(RCTBridge *bridge)
|
||||
}
|
||||
const char *types = method_getTypeEncoding(method);
|
||||
|
||||
class_addMethod(proxyClass, selector, RCTProfileTrampoline, types);
|
||||
class_addMethod(proxyClass, selector, (IMP)RCTProfileTrampoline, types);
|
||||
}
|
||||
free(methods);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user