Skip to content

Commit

Permalink
Merge pull request #305 from Monits/cast_msgsend
Browse files Browse the repository at this point in the history
Cast the call to objc_msgSend to the adequate type
  • Loading branch information
jasperblues committed Jan 8, 2015
2 parents 388ff72 + cf9382e commit c2acc96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Factory/Block/TyphoonAssemblyDefinitionBuilder.m
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ static id objc_msgSend_InjectionArguments(id target, SEL selector, NSMethodSigna
return (__bridge id) result;
}
else {
return objc_msgSend(target, selector);
return ((id (*)(id, SEL))objc_msgSend)(target, selector);
}
}

Expand Down

0 comments on commit c2acc96

Please sign in to comment.