System : Use unsigned type as index

This commit is contained in:
Magne Sjaastad 2018-02-23 22:38:46 +01:00
parent 0006c786cf
commit 245ea2dac2

View File

@ -150,7 +150,7 @@ cvf::StructGridInterface::FaceType RigNNCData::calculateCellFaceOverlap(const Ri
#endif
for ( char fIdx = 0; fIdx < 6; ++fIdx )
for ( unsigned char fIdx = 0; fIdx < 6; ++fIdx )
{
if ( !isPossibleNeighborInDirection[fIdx] )
{