Fixed compilation warning reported by GCC/Clang

src/gl/textures/gl_texture.cpp:691:25: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
This commit is contained in:
alexey.lysiuk 2017-04-01 10:24:05 +03:00
parent da6bfe65ff
commit 59ae50aecb

View file

@ -688,7 +688,7 @@ void gl_ParseBrightmap(FScanner &sc, int deflump)
void AddAutoBrightmaps()
{
int num = Wads.GetNumLumps();
for (unsigned i = 0; i < num; i++)
for (int i = 0; i < num; i++)
{
const char *name = Wads.GetLumpFullName(i);
if (strstr(name, "brightmaps/auto/") == name)