From 777e838c95bb5e2dd9c727aba7b589cdcc95a32e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 5 Feb 2016 22:56:00 +0300 Subject: Fix old compilers again. --- src/net/eathena/npcrecv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/eathena/npcrecv.cpp') diff --git a/src/net/eathena/npcrecv.cpp b/src/net/eathena/npcrecv.cpp index 522ce6ad4..b92a0f913 100644 --- a/src/net/eathena/npcrecv.cpp +++ b/src/net/eathena/npcrecv.cpp @@ -44,7 +44,7 @@ void NpcRecv::processNpcCutin(Net::MessageIn &msg) { Ea::NpcRecv::mRequestLang = false; const std::string image = msg.readString(64, "image name"); - const CutInT cutin = fromInt(msg.readUInt8("type"), CutInT); + const CutInT cutin = static_cast(msg.readUInt8("type")); cutInWindow->show(image, cutin); } -- cgit v1.2.3-60-g2f50