Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sendmsg2.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ IMP class_getMethodImplementation(Class cls, SEL name)
{
if ((Nil == cls) || (NULL == name)) { return (IMP)0; }
struct objc_slot2 * slot = objc_get_slot2(cls, name, NULL);
return NULL != slot ? slot->method : __objc_msg_forward2(nil, name);
return NULL != slot ? slot->method : (IMP)__objc_msg_forward2;
}

IMP class_getMethodImplementation_stret(Class cls, SEL name)
Expand Down
Loading