Fix incorrect string format specifier for NSInteger

This commit is contained in:
Arkadiusz Holko
2014-06-30 22:56:06 +02:00
parent 752b084df1
commit 00573e5368

View File

@@ -119,7 +119,7 @@ NSString *const ASDisplayNodeCAContentsGravityFromUIContentMode(UIViewContentMod
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;
}