mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-23 23:13:39 -06:00
Fix Linux build warning
This commit is contained in:
parent
f8256a30b8
commit
6e67f71082
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user