From c5f73f5af7a0628abc46a35195c5ac0d84e85226 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Fri, 16 Aug 2024 14:13:38 +0200 Subject: [PATCH] Recast: fix signed/unsigned mismatch --- src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp b/src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp index 1675d4ec..083bd249 100644 --- a/src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp +++ b/src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp @@ -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];