mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Address warnings in Xcode >= 9.3 about using %zd for NSInteger (#1026)
This commit is contained in:
@@ -153,7 +153,7 @@
|
||||
- (NSString *)description {
|
||||
NSMutableString *desc = @"".mutableCopy;
|
||||
NSRange range = self.range;
|
||||
[desc appendFormat:@"<ASTextLine: %p> row:%zd range:%tu,%tu",self, self.row, range.location, range.length];
|
||||
[desc appendFormat:@"<ASTextLine: %p> row:%ld range:%tu,%tu", self, (long)self.row, range.location, range.length];
|
||||
[desc appendFormat:@" position:%@",NSStringFromCGPoint(self.position)];
|
||||
[desc appendFormat:@" bounds:%@",NSStringFromCGRect(self.bounds)];
|
||||
return desc;
|
||||
|
||||
Reference in New Issue
Block a user