mirror of
https://github.com/ceph/ceph
synced 2025-01-02 17:12:31 +00:00
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:
parent
de4a764565
commit
e7602a1e9f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user