]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
fix for warnings -Wall HYDRO
authorPaul RASCLE <paul.rascle@openfields.fr>
Mon, 17 Aug 2020 21:51:24 +0000 (23:51 +0200)
committerYOANN AUDOUIN <B61570@dsp0851742.postes.calibre.edf.fr>
Mon, 5 Oct 2020 11:26:50 +0000 (13:26 +0200)
src/CurveCreator/CurveCreator_Curve.hxx

index b7e9bcfde14f6340cf4721cc3646a1df902af87c..878072f0e93c3311dda86eabf63e28bc2d93f420 100644 (file)
@@ -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];
     }