Fixed compilation warning reported by GCC/Clang

src/v_draw.cpp:503:25: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare]
This commit is contained in:
alexey.lysiuk 2017-03-26 22:04:04 +03:00
parent e5d4d9a36a
commit c8eabe57ff

View file

@ -500,7 +500,7 @@ bool DCanvas::ParseDrawTextureTags(FTexture *img, double x, double y, uint32_t t
case DTA_FillColor: case DTA_FillColor:
parms->fillcolor = ListGetInt(tags); parms->fillcolor = ListGetInt(tags);
if (parms->fillcolor != -1) if (parms->fillcolor != ~0u)
{ {
fillcolorset = true; fillcolorset = true;
} }