]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix i386 compile error 239/head
authorSage Weil <sage@inktank.com>
Wed, 24 Apr 2013 22:07:28 +0000 (15:07 -0700)
committerSage Weil <sage@inktank.com>
Wed, 24 Apr 2013 22:07:28 +0000 (15:07 -0700)
error: rgw/rgw_op.cc:665:63: no matching function for call to ‘min(uint64_t, size_t&)’

Signed-off-by: Sage Weil <sage@inktank.com>
src/rgw/rgw_op.cc

index 7b8227af9cf8492ba220693b7872d3d461ac5df9..77d5af73a77a3b45d4bc07e8b5fe95b96dcde052 100644 (file)
@@ -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;