summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@inktank.com>2013-04-26 09:41:39 -0700
committerYehuda Sadeh <yehuda@inktank.com>2013-04-26 12:10:14 -0700
commitc880e9578ed5382d212dc23e1e507e6034cffb5c (patch)
tree90d20b35abba0cdb307dfcdac807f8162f479522
parenta8b1bfa1ccbb66d73b7b97ecc714c6c24effd7c4 (diff)
downloadceph-c880e9578ed5382d212dc23e1e507e6034cffb5c.tar.gz
rgw: fix compilation for certain architectures
Casting. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r--src/rgw/rgw_op.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc
index 39e32047c1e..0c157c561fb 100644
--- a/src/rgw/rgw_op.cc
+++ b/src/rgw/rgw_op.cc
@@ -663,7 +663,7 @@ void RGWListBuckets::execute()
RGWUserBuckets buckets;
uint64_t read_count;
if (limit > 0)
- read_count = min(limit - total_count, max_buckets);
+ read_count = min(limit - total_count, (uint64_t)max_buckets);
else
read_count = max_buckets;