From 951250adc14337efef8e403113563cbe4558b4a3 Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Mon, 17 Aug 2020 23:51:24 +0200 Subject: [PATCH] fix for warnings -Wall HYDRO --- src/CurveCreator/CurveCreator_Curve.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CurveCreator/CurveCreator_Curve.hxx b/src/CurveCreator/CurveCreator_Curve.hxx index b7e9bcfde..878072f0e 100644 --- a/src/CurveCreator/CurveCreator_Curve.hxx +++ b/src/CurveCreator/CurveCreator_Curve.hxx @@ -233,7 +233,7 @@ public: //! A virtual method. const CurveCreator_ISection* getSection(const int theSectionIndex) const { - if (theSectionIndex >= 0 && theSectionIndex < mySections.size()) + if (theSectionIndex >= 0 && theSectionIndex < (int)mySections.size()) { return (CurveCreator_ISection*)mySections[theSectionIndex]; } -- 2.39.2