Use correct format identifiers for logs on 64 bit systems.

This commit is contained in:
Daniel Tomlinson
2014-06-27 19:09:27 +01:00
parent f59f4c0b63
commit a38e86f039
6 changed files with 15 additions and 12 deletions

View File

@@ -119,7 +119,7 @@ NSString *const ASDisplayNodeCAContentsGravityFromUIContentMode(UIViewContentMod
return UIContentModeCAGravityLUT[i].string;
}
}
ASDisplayNodeCAssert(contentMode == UIViewContentModeRedraw, @"Encountered an unknown contentMode %d. Is this a new version of iOS?", contentMode);
ASDisplayNodeCAssert(contentMode == UIViewContentModeRedraw, @"Encountered an unknown contentMode %ld. Is this a new version of iOS?", contentMode);
// Redraw is ok to return nil.
return nil;
}