From b005abe65a3db13c8f5070c999de7865c650a0aa Mon Sep 17 00:00:00 2001 From: Prashant D Date: Mon, 28 Oct 2019 02:03:21 -0400 Subject: [PATCH] crush/CrushWrapper.cc: Fix sign compare compiler warning introduced by 712a39e5c9d Signed-off-by: Prashant D --- src/crush/CrushWrapper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crush/CrushWrapper.cc b/src/crush/CrushWrapper.cc index d4601cddbd1c5..9f68491c657a0 100644 --- a/src/crush/CrushWrapper.cc +++ b/src/crush/CrushWrapper.cc @@ -932,7 +932,7 @@ int CrushWrapper::verify_upmap(CephContext *cct, return -ENOENT; } int root_bucket = 0; - int cursor = 0; + size_t cursor = 0; for (unsigned step = 0; step < rule->len; ++step) { auto curstep = &rule->steps[step]; ldout(cct, 10) << __func__ << " step " << step << dendl; -- 2.39.5