diff options
author | Yehuda Sadeh <yehuda@inktank.com> | 2013-04-26 09:41:39 -0700 |
---|---|---|
committer | Yehuda Sadeh <yehuda@inktank.com> | 2013-04-26 09:41:39 -0700 |
commit | 3a2e1681e0a85b8330f536e2be913d4445e3e2fe (patch) | |
tree | 1b0576d05b63cebd8c79996c91a01fc54c044de1 | |
parent | ed14a018d91b9b0a6cd9c6542d2a4d9ca2706682 (diff) | |
download | ceph-3a2e1681e0a85b8330f536e2be913d4445e3e2fe.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.cc | 2 |
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; |