From 290b5eb0f1b4a340c39f0d0fc5fb25697d7f8182 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 24 Apr 2013 15:07:28 -0700 Subject: [PATCH] rgw: fix i386 compile error MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit error: rgw/rgw_op.cc:665:63: no matching function for call to ‘min(uint64_t, size_t&)’ Signed-off-by: Sage Weil --- src/rgw/rgw_op.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index 7b8227af9cf8..77d5af73a77a 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -653,7 +653,7 @@ void RGWListBuckets::execute() bool started = false; uint64_t total_count = 0; - size_t max_buckets = s->cct->_conf->rgw_list_buckets_max_chunk; + uint64_t max_buckets = s->cct->_conf->rgw_list_buckets_max_chunk; ret = get_params(); if (ret < 0) @@ -715,7 +715,7 @@ void RGWStatAccount::execute() { string marker; bool done; - size_t max_buckets = s->cct->_conf->rgw_list_buckets_max_chunk; + uint64_t max_buckets = s->cct->_conf->rgw_list_buckets_max_chunk; do { RGWUserBuckets buckets; -- 2.47.3