mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed compiler warning
p4#: 20432
This commit is contained in:
@@ -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