Skip to content

Commit

Permalink
Cast the call to objc_msgSend to the adequate type
Browse files Browse the repository at this point in the history
The last update to LLVM made it necesary to cast objc_msgSend to the
desired type before using it (it takes no arguments in it's definition).
This in combination with changed build settings in CocoaPods 0.36 beta
caused Typhoon not to compile.
  • Loading branch information
Juan Pablo Civile committed Jan 8, 2015
1 parent 388ff72 commit cf9382e
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 cf9382e

Please sign in to comment.