diff --git a/src/network/protocols/server_lobby_room_protocol.cpp b/src/network/protocols/server_lobby_room_protocol.cpp index c51303d4c..ce0f367c4 100644 --- a/src/network/protocols/server_lobby_room_protocol.cpp +++ b/src/network/protocols/server_lobby_room_protocol.cpp @@ -224,7 +224,7 @@ void ServerLobbyRoomProtocol::checkRaceFinished() if (NetworkWorld::getInstance()->isRaceOver()) { // calculate karts ranks : - int num_players = race_manager->getNumberOfKarts(); + unsigned int num_players = race_manager->getNumberOfKarts(); std::vector karts_results; std::vector karts_times; for (int j = 0; j < num_players; j++)