summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLMapView.mm
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2018-11-19 18:51:28 -0500
committerJason Wray <jason@mapbox.com>2018-11-20 11:48:18 -0500
commit83ecb765629ddbbe59998178acbb2f3db6db213a (patch)
treedde9c336f6d432250843bbedd676a643c7d4d4a6 /platform/ios/src/MGLMapView.mm
parent00d0864441f94104806a7459fb814318f104c14b (diff)
downloadqtlocation-mapboxgl-83ecb765629ddbbe59998178acbb2f3db6db213a.tar.gz
[darwin] Fix GCC_WARN_SIGN_COMPARE warnings
Diffstat (limited to 'platform/ios/src/MGLMapView.mm')
-rw-r--r--platform/ios/src/MGLMapView.mm4
1 files changed, 2 insertions, 2 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;