mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
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:
parent
da6bfe65ff
commit
59ae50aecb
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue