summaryrefslogtreecommitdiff
path: root/CyteKit/dispatchEvent.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-06-08 22:42:18 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-06-08 22:42:18 -0700
commit4cc9e99a32a73858f3b9739c0cf8ec82bb35e93e (patch)
tree31fbd2791655a0e23e3bd0a173744d92602dd0f1 /CyteKit/dispatchEvent.mm
parent058813ae78aec1b25c7c44b2a6188b7ae2264107 (diff)
Make compilations with clang succeed.
Diffstat (limited to 'CyteKit/dispatchEvent.mm')
-rw-r--r--CyteKit/dispatchEvent.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/CyteKit/dispatchEvent.mm b/CyteKit/dispatchEvent.mm
index 76e24af..81b7089 100644
--- a/CyteKit/dispatchEvent.mm
+++ b/CyteKit/dispatchEvent.mm
@@ -94,7 +94,7 @@ MSHook(void, UIWebBrowserView$_webTouchEventsRecognized$, UIWebBrowserView *self
__attribute__((__constructor__)) static void $() {
if (Class $UIWebBrowserView = objc_getClass("UIWebBrowserView")) {
if (Method method = class_getInstanceMethod($UIWebBrowserView, @selector(_webTouchEventsRecognized:))) {
- _UIWebBrowserView$_webTouchEventsRecognized$ = reinterpret_cast<void (*)(UIWebBrowserView *, SEL, id)>(method_getImplementation(method));
+ _UIWebBrowserView$_webTouchEventsRecognized$ = reinterpret_cast<void (*)(UIWebBrowserView *, SEL, UIWebTouchEventsGestureRecognizer *)>(method_getImplementation(method));
method_setImplementation(method, reinterpret_cast<IMP>(&$UIWebBrowserView$_webTouchEventsRecognized$));
}
}