From 83d0cbedb2bdca33b1e0064489b6842d190b554d Mon Sep 17 00:00:00 2001 From: Koncord Date: Mon, 27 Feb 2017 16:29:28 +0800 Subject: [PATCH] [Server] Remove redundant type casts --- apps/openmw-mp/Networking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw-mp/Networking.cpp b/apps/openmw-mp/Networking.cpp index df57f452c..c4d181a6a 100644 --- a/apps/openmw-mp/Networking.cpp +++ b/apps/openmw-mp/Networking.cpp @@ -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); }