- 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:
alexey.lysiuk 2019-01-03 14:24:09 +02:00
parent 23146f1af2
commit 4cc78c3273

View file

@ -140,7 +140,7 @@ TArray<int> LevelAABBTree::FindNodePath(unsigned int line, unsigned int node)
if (path.Size())
path.Push(node);
}
else if (n.line_index == line)
else if (n.line_index == (int)line)
{
path.Push(node);
}