Frameworks/Adium Framework/Source/AIToolbar.m
branchadium-1.5.10.5
changeset 6003 6e8c6761ee0d
parent 3076 c398037eb6d3
--- a/Frameworks/Adium Framework/Source/AIToolbar.m	Thu Nov 14 16:26:13 2019 -0500
+++ b/Frameworks/Adium Framework/Source/AIToolbar.m	Thu Nov 14 18:10:18 2019 -0500
@@ -66,7 +66,8 @@
 	}
 
 	//call the unswizzled implementation now that we're done with our additions
-	method_invoke(self, class_getInstanceMethod([AIToolbar class], @selector(deallocWithNotifications)));
+    static void (*_deallocWithNotifications_method_invoke)(id, Method) = (void (*)(id, Method)) method_invoke;
+	_deallocWithNotifications_method_invoke(self, class_getInstanceMethod([AIToolbar class], @selector(deallocWithNotifications)));
 }
 
 @end