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 09:41:39 -0700
commit3a2e1681e0a85b8330f536e2be913d4445e3e2fe (patch)
tree1b0576d05b63cebd8c79996c91a01fc54c044de1
parented14a018d91b9b0a6cd9c6542d2a4d9ca2706682 (diff)
downloadceph-wip-4760.tar.gz
rgw: fix compilation for certain architectureswip-4760
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 1ea9fb09735..32d9051c16c 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;