Fix Linux build warning

This commit is contained in:
Bjørn Erik Jensen 2017-11-29 11:54:53 +01:00
parent f8256a30b8
commit 6e67f71082

View File

@ -823,7 +823,7 @@ QString Rim3dOverlayInfoConfig::timeStepText(RimEclipseView* eclipseView)
std::vector<QDateTime> timeSteps = eclipseView->currentGridCellResults()->allTimeStepDatesFromEclipseReader();
QString dateTimeString;
if (currTimeStepIndex >= 0 && currTimeStepIndex < timeSteps.size())
if (currTimeStepIndex >= 0 && currTimeStepIndex < (int)timeSteps.size())
{
QString dateFormat = RimTools::createTimeFormatStringFromDates(timeSteps);
dateTimeString = QString("Time Step: %1/%2 %3").arg(QString::number(currTimeStepIndex),