From 59ae50aecb7a33a4c475a8a364800e92f22f554f Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 1 Apr 2017 10:24:05 +0300 Subject: [PATCH] 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] --- src/gl/textures/gl_texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/textures/gl_texture.cpp b/src/gl/textures/gl_texture.cpp index 63e29d240..bef0da5d5 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)