From: Sage Weil Date: Tue, 13 Oct 2009 21:46:05 +0000 (-0700) Subject: mon: fix warning X-Git-Tag: v0.17~46 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6b6a674b20bafe34049ab5571cb656895d32f4f9;p=ceph.git mon: fix warning --- diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 0c40dd3b1556e..e773e638747d9 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -640,7 +640,7 @@ void Monitor::handle_subscribe(MMonSubscribe *m) // ??? if (reply) - messenger->send_message(new MMonSubscribeAck(g_conf.mon_subscribe_interval), + messenger->send_message(new MMonSubscribeAck((int)g_conf.mon_subscribe_interval), m->get_source_inst()); s->put();