mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-23 06:41:08 +00:00
Suppress warnings.
This commit is contained in:
parent
895739d6bb
commit
f5ba74cd10
@ -399,7 +399,7 @@ void CSVRender::Cell::pathgridPointRemoved(const std::string &name)
|
||||
int index = result.second;
|
||||
|
||||
// check if the point exists
|
||||
if(index < 0 || mPathgridId != pathgridId || index >= mPoints.size())
|
||||
if(index < 0 || mPathgridId != pathgridId || (unsigned int)index >= mPoints.size())
|
||||
return;
|
||||
|
||||
int numToDelete = mPoints[index].mConnectionNum * 2; // for sanity check later
|
||||
@ -484,7 +484,7 @@ void CSVRender::Cell::pathgridPointMoved(const std::string &name, const Ogre::Ve
|
||||
int index = result.second;
|
||||
|
||||
// check if the point exists
|
||||
if(index < 0 || mPathgridId != pathgridId || index >= mPoints.size())
|
||||
if(index < 0 || mPathgridId != pathgridId || (unsigned int)index >= mPoints.size())
|
||||
return;
|
||||
|
||||
float worldsize = ESM::Land::REAL_SIZE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user