diff options
Diffstat (limited to 'platform/ios/src')
-rw-r--r-- | platform/ios/src/MGLMapView.mm | 4 | ||||
-rw-r--r-- | platform/ios/src/MGLScaleBar.mm | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm index 6a3ab4da68..5b74ded15f 100644 --- a/platform/ios/src/MGLMapView.mm +++ b/platform/ios/src/MGLMapView.mm @@ -2590,7 +2590,7 @@ public: } // Compass - NSUInteger compassIndex = 0; + NSInteger compassIndex = 0; if (index == compassIndex) { return self.compassView; @@ -2666,7 +2666,7 @@ public: } // Attribution button - NSUInteger attributionButtonIndex = NSMaxRange(visibleRoadFeatureRange); + NSInteger attributionButtonIndex = NSMaxRange(visibleRoadFeatureRange); if (index == attributionButtonIndex) { return self.attributionButton; diff --git a/platform/ios/src/MGLScaleBar.mm b/platform/ios/src/MGLScaleBar.mm index d69fb3e852..f17d7b7ad2 100644 --- a/platform/ios/src/MGLScaleBar.mm +++ b/platform/ios/src/MGLScaleBar.mm @@ -358,7 +358,7 @@ static const CGFloat MGLFeetPerMeter = 3.28084; - (void)updateLabels { NSEnumerator<UIView*> *viewEnumerator = [self.labelViews objectEnumerator]; - NSInteger i = 0; + NSUInteger i = 0; CLLocationDistance multiplier = (self.row.distance / self.row.numberOfBars); if (![self usesMetricSystem]) { |