From 0f83c6ac323f2a1bd0b7e9e19c2687f9cf0d1e84 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 11 Oct 2014 23:49:31 +0200 Subject: Build fix --- src/server/game/Server/WorldSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Server/WorldSocket.cpp b/src/server/game/Server/WorldSocket.cpp index 83b67f426e0..abcf446dd8d 100644 --- a/src/server/game/Server/WorldSocket.cpp +++ b/src/server/game/Server/WorldSocket.cpp @@ -162,7 +162,7 @@ bool WorldSocket::ReadDataHandler() { ClientPktHeader* header = reinterpret_cast(_headerBuffer.GetReadPointer()); - Opcodes opcode(header->cmd); + Opcodes opcode = Opcodes(header->cmd); std::string opcodeName = GetOpcodeNameForLogging(opcode); -- cgit v1.2.3