From ff0e8323f8aab73f09d1ffe136fd9ddbc8f899ab Mon Sep 17 00:00:00 2001 From: mathusummut Date: Wed, 13 Mar 2019 12:11:31 +0100 Subject: [PATCH] Fixed warning --- source/game/game/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/game/game/game.cpp b/source/game/game/game.cpp index f5227b8d9..25d771011 100644 --- a/source/game/game/game.cpp +++ b/source/game/game/game.cpp @@ -4435,7 +4435,7 @@ namespace Game { if (faction->getFactionDisconnectHandled() == false && (faction->getControlType() == ctNetwork)) { - if (aiInterfaces.size() <= i) + if (static_cast(aiInterfaces.size()) <= i) aiInterfaces.push_back(NULL); if (aiInterfaces[i] == NULL && (server == NULL || server->isClientConnected(faction->getStartLocationIndex()) == false)) {