diff --git a/src/gl/textures/gl_texture.cpp b/src/gl/textures/gl_texture.cpp index 63e29d240f..bef0da5d54 100644 --- a/src/gl/textures/gl_texture.cpp +++ b/src/gl/textures/gl_texture.cpp @@ -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)