summaryrefslogtreecommitdiff
path: root/test/util/tile_cover.test.cpp
diff options
context:
space:
mode:
authorArtem Pavlenko <artem@mapnik.org>2020-02-14 16:56:46 +0000
committerArtem Pavlenko <artem@mapnik.org>2020-02-14 16:56:46 +0000
commit145c053a02d918d74002ea690dac398ee588a374 (patch)
treec645ffaec12822f0668858181248cd7365fc4e20 /test/util/tile_cover.test.cpp
parent37a4660ca367f141b9e0dedf3932c74f0ee0c920 (diff)
parent59294aaef333bdd455bd13d6bab6fca730379b52 (diff)
downloadqtlocation-mapboxgl-145c053a02d918d74002ea690dac398ee588a374.tar.gz
Merge branch 'master' into galinelle_setStyle++_updatedupstream/galinelle_setStyle++_updated
Diffstat (limited to 'test/util/tile_cover.test.cpp')
-rw-r--r--test/util/tile_cover.test.cpp4
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;