diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-05 21:49:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-06 12:12:22 +0300 |
commit | 2bd59adc7c456ce6f377feac8bc838e8011ebfc8 (patch) | |
tree | f2f25428e42e59b9a6d55d7c0be9a99c42e96e40 /src/net/eathena/markethandler.cpp | |
parent | ac1ef6b19f5c1405cfaa239ab367a93b17043723 (diff) | |
download | manaplus-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.gz manaplus-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.bz2 manaplus-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.xz manaplus-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.zip |
Fix code style.
Diffstat (limited to 'src/net/eathena/markethandler.cpp')
-rw-r--r-- | src/net/eathena/markethandler.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/eathena/markethandler.cpp b/src/net/eathena/markethandler.cpp index 12beafd98..ec9e3c095 100644 --- a/src/net/eathena/markethandler.cpp +++ b/src/net/eathena/markethandler.cpp @@ -24,8 +24,6 @@ #include "being/playerinfo.h" -#include "enums/being/attributes.h" - #include "gui/windows/buydialog.h" #include "net/eathena/messageout.h" @@ -127,7 +125,7 @@ void MarketHandler::buyItem(const int itemId, cnt = 100; createOutPacket(CMSG_NPC_MARKET_BUY); - outMsg.writeInt16(4 + 6 * cnt, "len"); + outMsg.writeInt16(static_cast<int16_t>(4 + 6 * cnt), "len"); for (int f = 0; f < cnt; f ++) { outMsg.writeInt16(static_cast<int16_t>(itemId), "item id"); |