From 4cb194eef5a1c7a8661b0b9e6828bb978d69a8f4 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 5 Apr 2018 13:07:53 -0500 Subject: [PATCH] mon/OSDMonitor: fix warnings Signed-off-by: Sage Weil --- src/mon/OSDMonitor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 2df8b77b4512d..984fcc04011aa 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; -- 2.39.5