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/macos | |
parent | 00d0864441f94104806a7459fb814318f104c14b (diff) | |
download | qtlocation-mapboxgl-83ecb765629ddbbe59998178acbb2f3db6db213a.tar.gz |
[darwin] Fix GCC_WARN_SIGN_COMPARE warnings
Diffstat (limited to 'platform/macos')
-rw-r--r-- | platform/macos/app/MapDocument.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/macos/app/MapDocument.m b/platform/macos/app/MapDocument.m index 7e537a31c7..d2bc7e9bfc 100644 --- a/platform/macos/app/MapDocument.m +++ b/platform/macos/app/MapDocument.m @@ -1324,7 +1324,7 @@ NSArray<id <MGLAnnotation>> *MBXFlattenedShapes(NSArray<id <MGLAnnotation>> *sha } if (action == @selector(showStyle:)) { NSPopUpButton *popUpButton = (NSPopUpButton *)toolbarItem.view; - NSUInteger index = self.indexOfStyleInToolbarItem; + NSInteger index = self.indexOfStyleInToolbarItem; if (index == NSNotFound) { index = -1; } |