From deb6822302cb9009adc3450dd405817cc0dae9cd Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 2 Sep 2009 00:43:56 +0000 Subject: Cast rework: use C++ style static_cast<> instead of C-style casts git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11595 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_whowas.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands/cmd_whowas.cpp') 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(parameters[0])); break; case WHOWAS_STATS: - GetStats((Extensible*)parameters[0]); + GetStats(static_cast(parameters[0])); break; case WHOWAS_PRUNE: -- cgit v1.2.3