From f471f7b1afe1343b601a3476cd6b7dac577eca63 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 22 May 2018 02:06:53 +0300 Subject: Fix some implicit casts. --- src/net/eathena/npchandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net') 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 -- cgit v1.2.3-70-g09d2