Fix gcc warning

This commit is contained in:
Magnus Norddahl 2017-01-25 03:45:57 +01:00
parent eb2b5269f9
commit 348b73eb83

View file

@ -137,7 +137,7 @@ namespace swrenderer
}
// New visplane algorithm uses hash table -- killough
hash = isskybox ? MAXVISPLANES : CalcHash(picnum.GetIndex(), lightlevel, height);
hash = isskybox ? ((unsigned)MAXVISPLANES) : CalcHash(picnum.GetIndex(), lightlevel, height);
RenderPortal *renderportal = RenderPortal::Instance();