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/guildhandler.cpp | |
parent | ac1ef6b19f5c1405cfaa239ab367a93b17043723 (diff) | |
download | mv-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.gz mv-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.bz2 mv-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.xz mv-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.zip |
Fix code style.
Diffstat (limited to 'src/net/eathena/guildhandler.cpp')
-rw-r--r-- | src/net/eathena/guildhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp index bffe95b94..31f1edba7 100644 --- a/src/net/eathena/guildhandler.cpp +++ b/src/net/eathena/guildhandler.cpp @@ -512,8 +512,8 @@ void GuildHandler::changeEmblem(std::string emblem) const createOutPacket(CMSG_GUILD_CHANGE_EMBLEM); if (emblem.size() > 200) emblem = emblem.substr(0, 200); - const int sz = emblem.size(); - outMsg.writeInt16(sz + 4, "len"); + const int sz = static_cast<int>(emblem.size()); + outMsg.writeInt16(static_cast<int16_t>(sz + 4), "len"); outMsg.writeString(emblem, sz, "emblem"); } |