summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
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)