aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting
diff options
context:
space:
mode:
authorGravatar Thomas Van Lenten <thomasvl@google.com>2016-02-23 12:39:36 -0500
committerGravatar Thomas Van Lenten <thomasvl@google.com>2016-02-23 12:39:36 -0500
commite2a081579316bc905905e83acb5be55fd9aab508 (patch)
tree9a83dc43fb0a0e3b9bbf51d06130a0049fd8769b /UnitTesting
parentfaf61e3369ff00128dfa087555856f8513601a56 (diff)
add some casts to objc_msgSend
Diffstat (limited to 'UnitTesting')
-rw-r--r--UnitTesting/GTMSenTestCase.m2
1 files changed, 1 insertions, 1 deletions
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