- GCC warning fixes (GCC stupidity for the most part.)
SVN r3154 (trunk)
This commit is contained in:
parent
1ea5cc8bd8
commit
1993e969b7
38 changed files with 152 additions and 119 deletions
|
|
@ -816,7 +816,7 @@ void FTextureManager::AddTexturesLump (const void *lumpdata, int lumpsize, int d
|
|||
pnames >> numpatches;
|
||||
|
||||
// Check whether the amount of names reported is correct.
|
||||
if (numpatches < 0)
|
||||
if ((signed)numpatches < 0)
|
||||
{
|
||||
Printf("Corrupt PNAMES lump found (negative amount of entries reported)");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue