[darwin] Fix GCC_WARN_SIGN_COMPARE warnings
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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]) {
|
||||
|
||||
Reference in New Issue
Block a user