]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_gc.cc
update sources to v12.1.2
[ceph.git] / ceph / src / rgw / rgw_gc.cc
index 67b8a5c33dfcccec377a1c571e5d489e85d6c987..e29af16ed1762379f302745a141d31aef819b6e8 100644 (file)
@@ -24,7 +24,7 @@ void RGWGC::initialize(CephContext *_cct, RGWRados *_store) {
   cct = _cct;
   store = _store;
 
-  max_objs = min(cct->_conf->rgw_gc_max_objs, rgw_shards_max());
+  max_objs = min(static_cast<int>(cct->_conf->rgw_gc_max_objs), rgw_shards_max());
 
   obj_names = new string[max_objs];