Fixed warning

This commit is contained in:
mathusummut
2019-03-13 12:11:31 +01:00
parent 145784faad
commit ff0e8323f8

View File

@@ -4435,7 +4435,7 @@ namespace Game {
if (faction->getFactionDisconnectHandled() == false &&
(faction->getControlType() == ctNetwork)) {
if (aiInterfaces.size() <= i)
if (static_cast<int>(aiInterfaces.size()) <= i)
aiInterfaces.push_back(NULL);
if (aiInterfaces[i] == NULL && (server == NULL ||
server->isClientConnected(faction->getStartLocationIndex()) == false)) {