summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-22 02:06:53 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-22 02:06:53 +0300
commitf471f7b1afe1343b601a3476cd6b7dac577eca63 (patch)
tree36bb8b101d0793f00178e1febaf81a9a9bad8275 /src/net/eathena
parentdd8699688fc642e5a99cc58948620cc096aa74b3 (diff)
downloadplus-f471f7b1afe1343b601a3476cd6b7dac577eca63.tar.gz
plus-f471f7b1afe1343b601a3476cd6b7dac577eca63.tar.bz2
plus-f471f7b1afe1343b601a3476cd6b7dac577eca63.tar.xz
plus-f471f7b1afe1343b601a3476cd6b7dac577eca63.zip
Fix some implicit casts.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/npchandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp
index c7783f363..7ec80433a 100644
--- a/src/net/eathena/npchandler.cpp
+++ b/src/net/eathena/npchandler.cpp
@@ -370,7 +370,7 @@ void NpcHandler::requestAirship(const std::string &mapName,
return;
createOutPacket(CMSG_PRIVATE_AIRSHIP_REQUEST);
outMsg.writeString(mapName, 16, "map name");
- outMsg.writeInt16(itemId, "item");
+ outMsg.writeInt16(CAST_S16(itemId), "item");
}
} // namespace EAthena