fixed size_t warning

This commit is contained in:
Dmitry Anisimov 2020-10-13 17:48:06 +02:00
parent b2494b1cc6
commit ab9f76f2db
1 changed files with 1 additions and 1 deletions

View File

@ -1432,7 +1432,7 @@ triangulate_hole_polyline_with_cdt(const PointRange& points,
std::vector<int> is(3);
for (int i = 0; i < 3; ++i) {
is[i] = fit->vertex(i)->info();
is[i] = static_cast<int>(fit->vertex(i)->info());
}
std::sort(is.begin(), is.end());