Index: src/runtime/runtime.h ================================================================== --- src/runtime/runtime.h +++ src/runtime/runtime.h @@ -72,11 +72,11 @@ const char *types; }; struct objc_super { id self; - Class class; + Class cls; }; struct objc_method { struct objc_selector sel; IMP imp; @@ -220,13 +220,13 @@ } static inline BOOL class_isMetaClass(Class cls_) { - struct objc_class *cls = cls_; + struct objc_class *cls = (struct objc_class*)cls_; return (cls->info & OBJC_CLASS_INFO_METACLASS); } #undef OBJC_BRIDGE #endif