Linux compile fixes

p4#: 21550
This commit is contained in:
Jacob Støren
2013-05-06 12:02:32 +02:00
parent cf664210bf
commit 5c0e55e7c1
6 changed files with 10 additions and 6 deletions

View File

@@ -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;
}