Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
dout(10) << "preprocess_query " << *m << " from " << m->get_orig_source_inst() << dendl;
switch (m->get_type()) {
case MSG_MON_COMMAND:
- return preprocess_command((MMonCommand*)m);
+ return preprocess_command(static_cast<MMonCommand*>(m));
case MSG_LOG:
return preprocess_log((MLog*)m);
dout(10) << "prepare_update " << *m << " from " << m->get_orig_source_inst() << dendl;
switch (m->get_type()) {
case MSG_MON_COMMAND:
- return prepare_command((MMonCommand*)m);
+ return prepare_command(static_cast<MMonCommand*>(m));
case MSG_LOG:
return prepare_log((MLog*)m);
default: