summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-05 22:56:00 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-05 22:56:00 +0300
commit777e838c95bb5e2dd9c727aba7b589cdcc95a32e (patch)
tree381ec311c88da57a463a579d530859988857531a /src/net
parent6b9e75dbb02912bac23746abfddeb558c6c698ee (diff)
downloadmanaplus-777e838c95bb5e2dd9c727aba7b589cdcc95a32e.tar.gz
manaplus-777e838c95bb5e2dd9c727aba7b589cdcc95a32e.tar.bz2
manaplus-777e838c95bb5e2dd9c727aba7b589cdcc95a32e.tar.xz
manaplus-777e838c95bb5e2dd9c727aba7b589cdcc95a32e.zip
Fix old compilers again.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/npcrecv.cpp2
1 files changed, 1 insertions, 1 deletions
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<CutInT>(msg.readUInt8("type"));
cutInWindow->show(image, cutin);
}