mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-03 20:20:48 -06:00
Fixed compiler warning
p4#: 20432
This commit is contained in:
parent
6017e6db35
commit
baeba974bf
@ -271,7 +271,7 @@ void RimReservoirView::clampCurrentTimestep()
|
||||
{
|
||||
if (m_currentTimeStep() > this->gridCellResults()->maxTimeStepCount())
|
||||
{
|
||||
m_currentTimeStep = this->gridCellResults()->maxTimeStepCount() -1;
|
||||
m_currentTimeStep = static_cast<int>(this->gridCellResults()->maxTimeStepCount()) -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user