quiet some sign-conversion-in-parameter warnings

This commit is contained in:
Shawn Hoffman
2017-06-07 04:33:15 -07:00
parent ab4a785f1b
commit e6c15e993b
2 changed files with 2 additions and 2 deletions

View File

@ -367,7 +367,7 @@ unsigned int NetPlayServer::OnDisconnect(const Client& player)
sf::Packet spac;
spac << (MessageId)NP_MSG_DISABLE_GAME;
// this thread doesn't need players lock
SendToClients(spac, -1);
SendToClients(spac, static_cast<PlayerId>(-1));
break;
}
}