diff options
author | Jason Wray <jason@mapbox.com> | 2018-11-19 18:51:28 -0500 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2018-11-20 11:48:18 -0500 |
commit | 83ecb765629ddbbe59998178acbb2f3db6db213a (patch) | |
tree | dde9c336f6d432250843bbedd676a643c7d4d4a6 /platform/ios/src/MGLScaleBar.mm | |
parent | 00d0864441f94104806a7459fb814318f104c14b (diff) | |
download | qtlocation-mapboxgl-83ecb765629ddbbe59998178acbb2f3db6db213a.tar.gz |
[darwin] Fix GCC_WARN_SIGN_COMPARE warnings
Diffstat (limited to 'platform/ios/src/MGLScaleBar.mm')
-rw-r--r-- | platform/ios/src/MGLScaleBar.mm | 2 |
1 files changed, 1 insertions, 1 deletions
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]) { |