summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-10 15:31:36 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-10 15:31:36 +0300
commitc757bf80478dd5e4e40a6c24b436954ab498a855 (patch)
tree8b73b31f6ca857d3a7affb86e324990b70baf68a /src/net/eathena/charserverhandler.cpp
parenta7524c70c71cbdaed7e541105d9c743fb18f56cf (diff)
downloadplus-c757bf80478dd5e4e40a6c24b436954ab498a855.tar.gz
plus-c757bf80478dd5e4e40a6c24b436954ab498a855.tar.bz2
plus-c757bf80478dd5e4e40a6c24b436954ab498a855.tar.xz
plus-c757bf80478dd5e4e40a6c24b436954ab498a855.zip
Fix code style.
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r--src/net/eathena/charserverhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index 5308fdaea..5db0a0d79 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -569,8 +569,8 @@ void CharServerHandler::processCharRename(Net::MessageIn &msg)
void CharServerHandler::changeSlot(const int oldSlot, const int newSlot)
{
createOutPacket(CMSG_CHAR_CHANGE_SLOT);
- outMsg.writeInt16(oldSlot, "old slot");
- outMsg.writeInt16(newSlot, "new slot");
+ outMsg.writeInt16(static_cast<int16_t>(oldSlot), "old slot");
+ outMsg.writeInt16(static_cast<int16_t>(newSlot), "new slot");
outMsg.writeInt16(0, "unused");
}