Fixed signed/unsigned mismatch in comparisons
No more 'comparison of integers of different signs' warnings reported by GCC/Clang
This commit is contained in:
parent
e0540c6b37
commit
9ed2da176e
12 changed files with 22 additions and 22 deletions
|
|
@ -1245,7 +1245,7 @@ void GLWall::ClipFFloors(seg_t * seg, F3DFloor * ffloor, sector_t * frontsector,
|
|||
{
|
||||
TArray<F3DFloor *> & frontffloors = frontsector->e->XFloor.ffloors;
|
||||
|
||||
int flags = ffloor->flags & (FF_SWIMMABLE | FF_TRANSLUCENT);
|
||||
const unsigned int flags = ffloor->flags & (FF_SWIMMABLE | FF_TRANSLUCENT);
|
||||
|
||||
for (unsigned int i = 0; i < frontffloors.Size(); i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue