Skip to content

Commit

Permalink
Fixed warning in imp_implementationWithBlock.
Browse files Browse the repository at this point in the history
This was caused by switching the method signature to use "id" for the block parameter.
  • Loading branch information
triplef authored and davidchisnall committed May 20, 2019
1 parent 375018a commit d16faed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block_to_imp.c
Expand Up @@ -183,7 +183,7 @@ static struct trampoline_set *trampolines;

IMP imp_implementationWithBlock(id block)
{
struct Block_layout *b = block;
struct Block_layout *b = (struct Block_layout *)block;
void *start;
void *end;
LOCK_FOR_SCOPE(&trampoline_lock);
Expand Down

0 comments on commit d16faed

Please sign in to comment.