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)) {