summaryrefslogtreecommitdiff
path: root/src/net/eathena/guildhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-05 21:49:04 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-06 12:12:22 +0300
commit2bd59adc7c456ce6f377feac8bc838e8011ebfc8 (patch)
treef2f25428e42e59b9a6d55d7c0be9a99c42e96e40 /src/net/eathena/guildhandler.cpp
parentac1ef6b19f5c1405cfaa239ab367a93b17043723 (diff)
downloadmanaverse-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.gz
manaverse-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.bz2
manaverse-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.xz
manaverse-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.zip
Fix code style.
Diffstat (limited to 'src/net/eathena/guildhandler.cpp')
-rw-r--r--src/net/eathena/guildhandler.cpp4
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");
}