]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix un/signed comparison warnings in rgw_admin.cc 46537/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 6 Jun 2022 17:00:14 +0000 (13:00 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 6 Jun 2022 17:01:15 +0000 (13:01 -0400)
Fixes: https://tracker.ceph.com/issues/55901
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_admin.cc

index 0c9d26ef8c5155d6770df0e65795f19de5a914f7..a84fb9f5db9e2c3ebd4b005df9a2f510ed70e50e 100644 (file)
@@ -2576,7 +2576,7 @@ static int bucket_source_sync_status(const DoutPrefixProvider *dpp, rgw::sal::Ra
     return r;
   }
 
-  const size_t total_shards = shard_status.size();
+  const int total_shards = shard_status.size();
 
   out << indented{width} << "incremental sync on " << total_shards << " shards\n";