Skip to content

Commit

Permalink
Explicit cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Adlai-Holler committed May 14, 2017
1 parent 7c57fc4 commit 51969b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ASDisplayNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -1418,7 +1418,7 @@ - (void)transitionLayoutWithSizeRange:(ASSizeRange)constrainedSize
int32_t transitionID = [self _startNewTransition];
// NOTE: This block captures self. It's cheaper than hitting the weak table.
asdisplaynode_iscancelled_block_t isCancelled = ^{
return _transitionID != transitionID;
return (BOOL)(_transitionID != transitionID);
};

// Move all subnodes in layout pending state for this transition
Expand Down

0 comments on commit 51969b7

Please sign in to comment.