diff options
Diffstat (limited to 'platform/darwin/src/MGLPointCollection.mm')
-rw-r--r-- | platform/darwin/src/MGLPointCollection.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLPointCollection.mm b/platform/darwin/src/MGLPointCollection.mm index adf3cc3d40..21982ca7bb 100644 --- a/platform/darwin/src/MGLPointCollection.mm +++ b/platform/darwin/src/MGLPointCollection.mm @@ -54,8 +54,8 @@ NS_ASSUME_NONNULL_BEGIN if (range.location + range.length > [self pointCount]) { [NSException raise:NSRangeException - format:@"Invalid coordinate range %@ extends beyond current coordinate count of %zu", - NSStringFromRange(range), [self pointCount]]; + format:@"Invalid coordinate range %@ extends beyond current coordinate count of %@", + NSStringFromRange(range), @([self pointCount])]; } std::copy(_coordinates.begin() + range.location, _coordinates.begin() + NSMaxRange(range), coords); |