diff --git a/AsyncDisplayKit/Details/NSIndexSet+ASHelpers.m b/AsyncDisplayKit/Details/NSIndexSet+ASHelpers.m index 15a4e9ec..de3314c0 100644 --- a/AsyncDisplayKit/Details/NSIndexSet+ASHelpers.m +++ b/AsyncDisplayKit/Details/NSIndexSet+ASHelpers.m @@ -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:@"}"];