[Server] Remove redundant type casts

0.6.1
Koncord 8 years ago
parent 8f96ca22c1
commit 83d0cbedb2

@ -935,5 +935,5 @@ MasterClient *Networking::getMasterClient()
void Networking::InitQuery(std::string queryAddr, unsigned short queryPort, std::string serverAddr,
unsigned short serverPort)
{
mclient = new MasterClient(queryAddr, (unsigned short) queryPort, serverAddr, (unsigned short) serverPort);
mclient = new MasterClient(queryAddr, queryPort, serverAddr, serverPort);
}

Loading…
Cancel
Save