From 9e359ae74929568138b0196874e5cadda23fdde3 Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Sun, 15 Sep 2019 18:07:42 +0200 Subject: [PATCH] usigned warning --- src/net/common/serverlobbythread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index 6ae9acae..951481cf 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -1816,7 +1816,7 @@ ServerLobbyThread::UserValid(unsigned playerId, const DBPlayerData &dbPlayerData LOG_ERROR("last_games from db = " << dbPlayerData.last_games); vector last_games; boost::split(last_games, dbPlayerData.last_games, boost::is_any_of(",")); - for (int i = 0; i < last_games.size(); i++){ + for (unsigned int i = 0; i < last_games.size(); i++){ if(last_games[i].length() > 0) tmpSession->GetPlayerData()->AddPlayerLastGame(stol(last_games[i])); }