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/darwin/test/MGLShapeSourceTests.mm | |
parent | 00d0864441f94104806a7459fb814318f104c14b (diff) | |
download | qtlocation-mapboxgl-83ecb765629ddbbe59998178acbb2f3db6db213a.tar.gz |
[darwin] Fix GCC_WARN_SIGN_COMPARE warnings
Diffstat (limited to 'platform/darwin/test/MGLShapeSourceTests.mm')
-rw-r--r-- | platform/darwin/test/MGLShapeSourceTests.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/darwin/test/MGLShapeSourceTests.mm b/platform/darwin/test/MGLShapeSourceTests.mm index c4f791f958..3459fb1733 100644 --- a/platform/darwin/test/MGLShapeSourceTests.mm +++ b/platform/darwin/test/MGLShapeSourceTests.mm @@ -65,7 +65,7 @@ MGLShapeCollection *collection = (MGLShapeCollection *)source.shape; XCTAssertNotNil(collection); - XCTAssertEqual(collection.shapes.count, 1); + XCTAssertEqual(collection.shapes.count, 1UL); XCTAssertTrue([collection.shapes.firstObject isMemberOfClass:[MGLPolylineFeature class]]); } @@ -294,7 +294,7 @@ MGLShapeCollectionFeature *shape = (MGLShapeCollectionFeature *)source.shape; XCTAssertTrue([shape isKindOfClass:[MGLShapeCollectionFeature class]]); - XCTAssertEqual(shape.shapes.count, 1, @"Shape collection should contain 1 shape"); + XCTAssertEqual(shape.shapes.count, 1UL, @"Shape collection should contain 1 shape"); // when a shape is included in the features array MGLPolygon *polygon = [MGLPolygon polygonWithCoordinates:coordinates count:sizeof(coordinates)/sizeof(coordinates[0]) interiorPolygons:nil]; @@ -319,7 +319,7 @@ MGLShapeCollectionFeature *shape = (MGLShapeCollectionFeature *)source.shape; XCTAssertTrue([shape isKindOfClass:[MGLShapeCollection class]]); - XCTAssertEqual(shape.shapes.count, 1, @"Shape collection should contain 1 shape"); + XCTAssertEqual(shape.shapes.count, 1UL, @"Shape collection should contain 1 shape"); } @end |