Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2 from fastred/format_specifiers
Browse files Browse the repository at this point in the history
Fix incorrect string format specifier for NSInteger
  • Loading branch information
secretiverhyme committed Jun 30, 2014
2 parents 752b084 + 00573e5 commit 291fa88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AsyncDisplayKit/Private/_ASCoreAnimationExtras.mm
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ UIViewContentMode ASDisplayNodeUIContentModeFromNSString(NSString *string) {
return UIContentModeCAGravityLUT[i].string;
}
}
ASDisplayNodeCAssert(contentMode == UIViewContentModeRedraw, @"Encountered an unknown contentMode %ld. Is this a new version of iOS?", contentMode);
ASDisplayNodeCAssert(contentMode == UIViewContentModeRedraw, @"Encountered an unknown contentMode %zd. Is this a new version of iOS?", contentMode);
// Redraw is ok to return nil.
return nil;
}
Expand Down

0 comments on commit 291fa88

Please sign in to comment.