mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Linux compile fixes
p4#: 21550
This commit is contained in:
@@ -280,7 +280,7 @@ RigGridBase* RimCellRangeFilter::selectedGrid()
|
||||
CVF_ASSERT(mainGrid);
|
||||
|
||||
RigGridBase* grid = NULL;
|
||||
if (gridIndex() >= mainGrid->gridCount())
|
||||
if (static_cast<size_t>(gridIndex()) >= mainGrid->gridCount())
|
||||
{
|
||||
gridIndex = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user