Recast: fix signed/unsigned mismatch

This commit is contained in:
Kawe Mazidjatari 2024-08-16 14:13:38 +02:00
parent 01507c0bd7
commit c5f73f5af7

View File

@ -168,7 +168,7 @@ static void drawTraverseLinks(duDebugDraw* dd, const dtNavMesh& mesh, const dtNa
continue;
// Iterate through links in the poly.
for (int j = startPoly->firstLink; j != DT_NULL_LINK; j = tile->links[j].next)
for (unsigned int j = startPoly->firstLink; j != DT_NULL_LINK; j = tile->links[j].next)
{
const dtLink* link = &tile->links[j];