Fix linux compile error and warnings

This commit is contained in:
Jacob Støren
2020-02-25 17:05:49 +01:00
parent 6d07e7a8ff
commit afea6963b2
4 changed files with 4 additions and 4 deletions

View File

@@ -707,7 +707,7 @@ void RimAnalysisPlot::addDataToChartBuilder( RiuGroupedBarChartBuilder& chartBui
for ( time_t tt : selectedTimesteps )
{
for ( int timestepIdx = 0; timestepIdx < timesteps.size(); ++timestepIdx )
for ( int timestepIdx = 0; static_cast<unsigned>( timestepIdx ) < timesteps.size(); ++timestepIdx )
{
if ( timesteps[timestepIdx] == tt )
{