mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-21 11:31:41 +00:00
- fixed compilation warning with GCC and Clang
src/hwrenderer/dynlights/hw_aabbtree.cpp:143:24: warning: comparison of integers of different signs: 'const int' and 'unsigned int' [-Wsign-compare]
This commit is contained in:
parent
23146f1af2
commit
4cc78c3273
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ TArray<int> LevelAABBTree::FindNodePath(unsigned int line, unsigned int node)
|
||||||
if (path.Size())
|
if (path.Size())
|
||||||
path.Push(node);
|
path.Push(node);
|
||||||
}
|
}
|
||||||
else if (n.line_index == line)
|
else if (n.line_index == (int)line)
|
||||||
{
|
{
|
||||||
path.Push(node);
|
path.Push(node);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue