Fix MSVC warnings (#1174)

This commit is contained in:
mwilsnd
2023-05-25 14:00:22 -05:00
committed by Bart Louwers
parent a76cec8689
commit ad4a598975
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ public:
glContext.draw(gfx::Triangles(), lineIndexes.size(), triangleIndexes.size());
}
if (!lineIndexes.empty()) {
glContext.draw(gfx::Lines(lineWidth), 0, lineIndexes.size());
glContext.draw(gfx::Lines(static_cast<float>(lineWidth)), 0, lineIndexes.size());
}
}

View File

@@ -3,7 +3,7 @@
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4244)
#pragma warning(disable : 4244 4267)
#endif
#include <mapbox/vector_tile.hpp>