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/partyhandler.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/partyhandler.cpp')
-rw-r--r-- | src/net/eathena/partyhandler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp index cfec2fe81..dc65fb3ad 100644 --- a/src/net/eathena/partyhandler.cpp +++ b/src/net/eathena/partyhandler.cpp @@ -189,8 +189,8 @@ void PartyHandler::setShareExperience(const PartyShare share) const return; MessageOut outMsg(CMSG_PARTY_SETTINGS); - outMsg.writeInt16(share); - outMsg.writeInt16(mShareItems); + outMsg.writeInt16(static_cast<int16_t>(share)); + outMsg.writeInt16(static_cast<int16_t>(mShareItems)); } void PartyHandler::setShareItems(const PartyShare share) const @@ -199,8 +199,8 @@ void PartyHandler::setShareItems(const PartyShare share) const return; MessageOut outMsg(CMSG_PARTY_SETTINGS); - outMsg.writeInt16(mShareExp); - outMsg.writeInt16(share); + outMsg.writeInt16(static_cast<int16_t>(mShareExp)); + outMsg.writeInt16(static_cast<int16_t>(share)); } } // namespace EAthena |