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:
parent
514723a4e6
commit
fbafa13b3d
@ -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];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user