diff --git a/ApplicationCode/ProjectDataModel/RimEclipseCase.cpp b/ApplicationCode/ProjectDataModel/RimEclipseCase.cpp index 4ae673d415..38ba9046e2 100644 --- a/ApplicationCode/ProjectDataModel/RimEclipseCase.cpp +++ b/ApplicationCode/ProjectDataModel/RimEclipseCase.cpp @@ -571,11 +571,10 @@ QStringList RimEclipseCase::timeStepStrings() //-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- - QString RimEclipseCase::timeStepName(int frameIdx) { std::vector timeStepDates = this->timeStepDates(); - CVF_ASSERT(frameIdx < timeStepDates.size()); + CVF_ASSERT(frameIdx < static_cast(timeStepDates.size())); if (m_timeStepFormatString.isEmpty()) {