fix for warnings -Wall HYDRO

This commit is contained in:
Paul RASCLE 2020-08-17 23:51:24 +02:00 committed by YOANN AUDOUIN
parent 1e56c0d59c
commit 951250adc1

View 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];
}