mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-03-29 16:48:59 +08:00
Fix compiler warning in as_smallDescription on 32 bit (#1964)
This commit is contained in:
committed by
Adlai Holler
parent
8cde594de3
commit
9b47a9114a
@@ -68,9 +68,9 @@
|
||||
NSMutableString *result = [NSMutableString stringWithString:@"{ "];
|
||||
[self enumerateRangesUsingBlock:^(NSRange range, BOOL * _Nonnull stop) {
|
||||
if (range.length == 1) {
|
||||
[result appendFormat:@"%zu ", (unsigned long)range.location];
|
||||
[result appendFormat:@"%tu ", range.location];
|
||||
} else {
|
||||
[result appendFormat:@"%zu-%lu ", (unsigned long)range.location, NSMaxRange(range) - 1];
|
||||
[result appendFormat:@"%tu-%tu ", range.location, NSMaxRange(range) - 1];
|
||||
}
|
||||
}];
|
||||
[result appendString:@"}"];
|
||||
|
||||
Reference in New Issue
Block a user