diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-17 20:13:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-17 20:13:48 +0300 |
commit | c2efedab22275302f0a10cc197424d345a021d18 (patch) | |
tree | 7488abbb3655451a3f6a1621e0708f72011af5f6 /src/net/tmwa/guildhandler.cpp | |
parent | 79aba82be3de5b6b571e2f59f7a34ded4b03160f (diff) | |
download | manaverse-c2efedab22275302f0a10cc197424d345a021d18.tar.gz manaverse-c2efedab22275302f0a10cc197424d345a021d18.tar.bz2 manaverse-c2efedab22275302f0a10cc197424d345a021d18.tar.xz manaverse-c2efedab22275302f0a10cc197424d345a021d18.zip |
Replace SDL int types to C++ types.
Diffstat (limited to 'src/net/tmwa/guildhandler.cpp')
-rw-r--r-- | src/net/tmwa/guildhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp index 5e2ac528f..8bd8e9754 100644 --- a/src/net/tmwa/guildhandler.cpp +++ b/src/net/tmwa/guildhandler.cpp @@ -38,7 +38,7 @@ namespace TmwAthena GuildHandler::GuildHandler() { - static const Uint16 _messages[] = + static const uint16_t _messages[] = { SMSG_GUILD_CREATE_RESPONSE, SMSG_GUILD_POSITION_INFO, @@ -264,7 +264,7 @@ void GuildHandler::chat(int guildId A_UNUSED, const std::string &text) std::string str = player_node->getName() + " : " + text; MessageOut msg(CMSG_GUILD_MESSAGE); - msg.writeInt16(static_cast<Uint16>(str.size() + 4)); + msg.writeInt16(static_cast<uint16_t>(str.size() + 4)); msg.writeString(str, static_cast<int>(str.length())); } |