1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-21 09:39:56 +00:00

Appease the compiler

This commit is contained in:
Evil Eye 2023-10-14 17:01:55 +02:00
parent 514723a4e6
commit fbafa13b3d

View File

@ -1076,7 +1076,7 @@ namespace CSMWorld
}
else if (subColIndex == 1)
{
if (subRowIndex >= 0 && subRowIndex < region.mData.mProbabilities.size())
if (subRowIndex >= 0 && static_cast<size_t>(subRowIndex) < region.mData.mProbabilities.size())
return region.mData.mProbabilities[subRowIndex];
}