mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 22:33:17 +00:00
- damn integer type confusion... :(
SVN r3155 (trunk)
This commit is contained in:
parent
1993e969b7
commit
1b93b56f46
1 changed files with 2 additions and 2 deletions
|
@ -1135,10 +1135,10 @@ int FTextureManager::CountLumpTextures (int lumpnum)
|
||||||
if (lumpnum >= 0)
|
if (lumpnum >= 0)
|
||||||
{
|
{
|
||||||
FWadLump file = Wads.OpenLumpNum (lumpnum);
|
FWadLump file = Wads.OpenLumpNum (lumpnum);
|
||||||
SDWORD numtex;
|
DWORD numtex;
|
||||||
|
|
||||||
file >> numtex;
|
file >> numtex;
|
||||||
return numtex >= 0 ? numtex : 0;
|
return int(numtex) >= 0 ? numtex : 0;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue