diff options
author | Juha Alanen <juha.alanen@mapbox.com> | 2020-02-12 12:34:30 +0200 |
---|---|---|
committer | Juha Alanen <juha.alanen@mapbox.com> | 2020-02-14 12:01:52 +0200 |
commit | a4c4de28285a5abe1343fe5abf718adad2b9d354 (patch) | |
tree | cb2ab9ecdc7d46fd21839af8b42c71821e7e2842 /test/util/tile_cover.test.cpp | |
parent | ddc7930b2792ffe12e7d1d3e0a231b7e204e1ff5 (diff) | |
download | qtlocation-mapboxgl-a4c4de28285a5abe1343fe5abf718adad2b9d354.tar.gz |
[test] Fix failing tests on iOS
Diffstat (limited to 'test/util/tile_cover.test.cpp')
-rw-r--r-- | test/util/tile_cover.test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/util/tile_cover.test.cpp b/test/util/tile_cover.test.cpp index af9f0c4884..ba39bfa61b 100644 --- a/test/util/tile_cover.test.cpp +++ b/test/util/tile_cover.test.cpp @@ -365,7 +365,7 @@ TEST(TileCount, BoundsCrossingAntimeridian) { TEST(TileCover, DISABLED_FuzzPoly) { while(true) { - std::srand (time(nullptr)); + std::srand(static_cast<uint32_t>(time(nullptr))); std::size_t len = std::rand() % 10000 + 3; Polygon<double> polygon; @@ -393,7 +393,7 @@ TEST(TileCover, DISABLED_FuzzPoly) { TEST(TileCover, DISABLED_FuzzLine) { while(true) { - std::srand (time(nullptr)); + std::srand(static_cast<uint32_t>(time(nullptr))); std::size_t len = std::rand() % 10000 + 3; MultiLineString<double> mls; |