diff --git a/drape_frontend/visual_params.hpp b/drape_frontend/visual_params.hpp index 7eecb264ad..54a6d81234 100644 --- a/drape_frontend/visual_params.hpp +++ b/drape_frontend/visual_params.hpp @@ -139,7 +139,7 @@ template typename ArrayT::value_type InterpolateByZoomLevels(int index, float lerpCoef, ArrayT const & values) { ASSERT_GREATER_OR_EQUAL(index, 0, ()); - if (index + 1 < values.size()) + if (index + 1 < static_cast(values.size())) return values[index] + (values[index + 1] - values[index]) * lerpCoef; return values.back(); }