Add static cast from size_t to int

This commit is contained in:
Magne Sjaastad committed 2017-06-29 22:37:00 +02:00
1 parent 803c0f7ab0
commit ec990b5e2c
1 file changed
+1 -1
@@ -42,7 +42,7 @@ int RigReservoirGridTools::gridCount(RimCase* rimCase)
if (eclipseMainGrid)
{
return eclipseMainGrid->gridCount();
return static_cast<int>(eclipseMainGrid->gridCount());
}
else if (geoMechPartCollection)
{