From e4b975c28991b69f4dd0d1df7f5d392bc68eab31 Mon Sep 17 00:00:00 2001 From: jeefo Date: Fri, 30 Aug 2019 10:56:52 +0300 Subject: [PATCH] Fixed signed/unsgined mismatch. --- source/control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/control.cpp b/source/control.cpp index 1e40812..8240ef7 100644 --- a/source/control.cpp +++ b/source/control.cpp @@ -909,7 +909,7 @@ int BotControl::cmdNodeIterateCamp () { m_campPoints.clear (); } else if (op == "next") { - if (m_campPointsIndex < m_campPoints.length ()) { + if (m_campPointsIndex < static_cast (m_campPoints.length ())) { Vector origin = graph[m_campPoints[m_campPointsIndex]].origin; if (graph[m_campPoints[m_campPointsIndex]].flags & NodeFlag::Crouch) {