diff --git a/scwx-qt/source/scwx/qt/view/level2_product_view.cpp b/scwx-qt/source/scwx/qt/view/level2_product_view.cpp index 0e95ddd3..f0199c4b 100644 --- a/scwx-qt/source/scwx/qt/view/level2_product_view.cpp +++ b/scwx-qt/source/scwx/qt/view/level2_product_view.cpp @@ -890,7 +890,7 @@ Level2ProductView::GetBinLevel(const common::Coordinate& coordinate) const const std::int32_t gate = s12 / dataMomentInterval - startGate; if (gate < 0 || gate > numberOfDataMomentGates || - gate > common::MAX_DATA_MOMENT_GATES) + gate > static_cast(common::MAX_DATA_MOMENT_GATES)) { // Coordinate is beyond radar range return std::nullopt;