quiet some sign-conversion-in-parameter warnings

This commit is contained in:
Shawn Hoffman committed 2017-06-07 20:09:43 -07:00
1 parent ab4a785f1b
commit e6c15e993b
2 files changed
+2 -2

No files matched your search

+1 -1
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;
}
}