From 57858add6e70dde0b0d391119d4dfad000c9752b Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Thu, 24 Dec 2015 14:30:42 +0000 Subject: [PATCH] Silence warning in test. --- Test/PropertyIntrospectionTest2_arc.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test/PropertyIntrospectionTest2_arc.m b/Test/PropertyIntrospectionTest2_arc.m index fd4b7d6..a49e1c1 100644 --- a/Test/PropertyIntrospectionTest2_arc.m +++ b/Test/PropertyIntrospectionTest2_arc.m @@ -480,7 +480,7 @@ static void intDefault2Setter(id self, SEL _cmd, int value) { static struct YorkshireTeaStruct structDefault2Getter(id self, SEL _cmd) { struct YorkshireTeaStruct *s; - object_getInstanceVariable(self, "structDefault", &s); + object_getInstanceVariable(self, "structDefault", (void**)&s); return *s; }