summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-17 20:13:48 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-17 20:13:48 +0300
commitc2efedab22275302f0a10cc197424d345a021d18 (patch)
tree7488abbb3655451a3f6a1621e0708f72011af5f6 /src/commandhandler.cpp
parent79aba82be3de5b6b571e2f59f7a34ded4b03160f (diff)
downloadmanaverse-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/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 0e0ec4cff..5d69b2de3 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -747,7 +747,7 @@ void CommandHandler::handleEmote(const std::string &args,
ChatTab *tab A_UNUSED)
{
if (player_node)
- player_node->emote(static_cast<Uint8>(atoi(args.c_str())));
+ player_node->emote(static_cast<uint8_t>(atoi(args.c_str())));
}
void CommandHandler::handleAway(const std::string &args, ChatTab *tab A_UNUSED)