From: Sage Weil Date: Thu, 5 Apr 2018 18:07:53 +0000 (-0500) Subject: mon/OSDMonitor: fix warnings X-Git-Tag: v13.1.0~390^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4cb194eef5a1c7a8661b0b9e6828bb978d69a8f4;p=ceph.git mon/OSDMonitor: fix warnings Signed-off-by: Sage Weil --- diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 2df8b77b4512..984fcc04011a 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -11535,7 +11535,7 @@ int OSDMonitor::_prepare_remove_pool( { auto it = pending_inc.new_pg_upmap.begin(); while (it != pending_inc.new_pg_upmap.end()) { - if (it->first.pool() == (uint64_t)pool) { + if (it->first.pool() == pool) { dout(10) << __func__ << " " << pool << " removing pending pg_upmap " << it->first << dendl; @@ -11558,7 +11558,7 @@ int OSDMonitor::_prepare_remove_pool( { auto it = pending_inc.new_pg_upmap_items.begin(); while (it != pending_inc.new_pg_upmap_items.end()) { - if (it->first.pool() == (uint64_t)pool) { + if (it->first.pool() == pool) { dout(10) << __func__ << " " << pool << " removing pending pg_upmap_items " << it->first << dendl;