Fixed maxclients showing as a char

This commit is contained in:
Jordan Cristiano 2015-05-15 00:23:45 -04:00
parent 907a804409
commit cafe9ccb7c

View File

@ -78,6 +78,8 @@ namespace NetHandlers
void SVC_ServerInfo_ToString_Internal(std::ostringstream& out, NetMsg::SVC_ServerInfo* data)
{
out << "svc_ServerInfo: game \"" << data->gameDir << "\", map \"" << data->mapName << "\", max " << data->maxClients;
out << "svc_ServerInfo: game \"" << data->gameDir
<< "\", map \"" << data->mapName
<< "\", max " << static_cast<uint32_t>(data->maxClients);
}
}