mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-15 01:42:13 -05:00
Fixed compiler warning
p4#: 20432
This commit is contained in:
1 parent
6017e6db35
commit
baeba974bf
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user