From: Paul RASCLE Date: Mon, 17 Aug 2020 21:51:24 +0000 (+0200) Subject: fix for warnings -Wall HYDRO X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=951250adc14337efef8e403113563cbe4558b4a3;p=modules%2Fgeom.git fix for warnings -Wall HYDRO --- 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]; }