mon/MonClient.cc: use static_cast instead of C-Style cast

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
Danny Al-Gaaf 2013-06-24 15:19:41 +02:00
parent de4a764565
commit e7602a1e9f

View File

@ -206,7 +206,7 @@ bool MonClient::ms_dispatch(Message *m)
handle_get_version_reply(static_cast<MMonGetVersionReply*>(m));
break;
case MSG_MON_COMMAND_ACK:
handle_mon_command_ack((MMonCommandAck*)m);
handle_mon_command_ack(static_cast<MMonCommandAck*>(m));
break;
case MSG_LOGACK:
if (log_client) {