diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:53:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:53:09 +0300 |
commit | 237449794444d60ecc4a669d78becac5372da723 (patch) | |
tree | 694f439d43e303065220df02ec5a1df9ea5b57fe /src/net/eathena/tradehandler.cpp | |
parent | 2c13c60e916768fe09bcfff1d0b568a4c5397a99 (diff) | |
download | manaplus-237449794444d60ecc4a669d78becac5372da723.tar.gz manaplus-237449794444d60ecc4a669d78becac5372da723.tar.bz2 manaplus-237449794444d60ecc4a669d78becac5372da723.tar.xz manaplus-237449794444d60ecc4a669d78becac5372da723.zip |
Fix code style in net.
Diffstat (limited to 'src/net/eathena/tradehandler.cpp')
-rw-r--r-- | src/net/eathena/tradehandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/tradehandler.cpp b/src/net/eathena/tradehandler.cpp index b04446775..1e71d4a43 100644 --- a/src/net/eathena/tradehandler.cpp +++ b/src/net/eathena/tradehandler.cpp @@ -110,7 +110,7 @@ void TradeHandler::respond(const bool accept) const PlayerInfo::setTrading(false); MessageOut outMsg(CMSG_TRADE_RESPONSE); - outMsg.writeInt8(accept ? 3 : 4); + outMsg.writeInt8(static_cast<int8_t>(accept ? 3 : 4)); } void TradeHandler::addItem(const Item *const item, const int amount) const |