summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/cmd_whowas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/cmd_whowas.cpp b/src/commands/cmd_whowas.cpp
index e20dc1b5e..71b228070 100644
--- a/src/commands/cmd_whowas.cpp
+++ b/src/commands/cmd_whowas.cpp
@@ -91,11 +91,11 @@ CmdResult CommandWhowas::HandleInternal(const unsigned int id, const std::deque<
switch (id)
{
case WHOWAS_ADD:
- AddToWhoWas((User*)parameters[0]);
+ AddToWhoWas(static_cast<User*>(parameters[0]));
break;
case WHOWAS_STATS:
- GetStats((Extensible*)parameters[0]);
+ GetStats(static_cast<Extensible*>(parameters[0]));
break;
case WHOWAS_PRUNE: