Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Suppress compiler warnings for NSLog string format #130

Open
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Split
@@ -85,7 +85,7 @@ - (void)encodeWithCoder:(NSCoder *)coder
- (NSString *)description
{
- return [NSString stringWithFormat:@"[%d,%d]", section, row];
+ return [NSString stringWithFormat:@"[%ld,%ld]", section, row];
}
- (NSUInteger)section
View
@@ -454,7 +454,7 @@ - (void)setContentMode:(TUIViewContentMode)contentMode
} else if(contentMode == TUIViewContentModeScaleAspectFill) {
_layer.contentsGravity = kCAGravityResizeAspectFill;
} else {
- NSAssert1(NO, @"%lu is not a valid contentMode.", contentMode);
+ NSAssert1(NO, @"%ud is not a valid contentMode.", contentMode);
}
}