From e2a081579316bc905905e83acb5be55fd9aab508 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Tue, 23 Feb 2016 12:39:36 -0500 Subject: add some casts to objc_msgSend --- UnitTesting/GTMSenTestCase.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'UnitTesting') diff --git a/UnitTesting/GTMSenTestCase.m b/UnitTesting/GTMSenTestCase.m index e2f2ceb..ecab057 100644 --- a/UnitTesting/GTMSenTestCase.m +++ b/UnitTesting/GTMSenTestCase.m @@ -298,7 +298,7 @@ NSString *const SenTestLineNumberKey = @"SenTestLineNumberKey"; // It turns out that on iOS4 (and 3.2) exceptions thrown inside an // [invocation invoke] on the simulator cannot be caught. // http://openradar.appspot.com/8081169 - objc_msgSend(self, [invocation selector]); + ((void (*)(id, SEL))objc_msgSend)(self, [invocation selector]); #else [invocation invokeWithTarget:self]; #endif -- cgit v1.2.3