From a692cbd4dde9560180bb337a945c7aa2df8f06b1 Mon Sep 17 00:00:00 2001 From: theraven Date: Thu, 20 May 2010 11:44:58 +0000 Subject: [PATCH] Fix some GCC warnings. Patch by TOM. --- runtime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime.c b/runtime.c index a9d8eb5..6eaea21 100644 --- a/runtime.c +++ b/runtime.c @@ -402,13 +402,13 @@ const char *class_getIvarLayout(Class cls) IMP class_getMethodImplementation(Class cls, SEL name) { - struct objc_object_gnu obj = { cls }; + struct objc_object obj = { cls }; return (IMP)objc_msg_lookup((id)&obj, name); } IMP class_getMethodImplementation_stret(Class cls, SEL name) { - struct objc_object_gnu obj = { cls }; + struct objc_object obj = { cls }; return (IMP)objc_msg_lookup((id)&obj, name); }