From: Sage Weil Date: Wed, 24 Apr 2013 22:07:28 +0000 (-0700) Subject: rgw: fix i386 compile error X-Git-Tag: v0.61~96^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=290b5eb0f1b4a340c39f0d0fc5fb25697d7f8182;p=ceph.git rgw: fix i386 compile error error: rgw/rgw_op.cc:665:63: no matching function for call to ‘min(uint64_t, size_t&)’ Signed-off-by: Sage Weil --- 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;