Project

General

Profile

Actions

Bug #55898

closed

rgw_sync.cc warning: comparison of integer expressions of different signedness

Added by Casey Bodley almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

[ 75%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync.cc.o
src/rgw/rgw_sync.cc: In member function ‘int RGWMetaSyncShardCR::full_sync()’:
src/rgw/rgw_sync.cc:1655:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
             while (num_spawned() > cct->_conf->rgw_meta_sync_spawn_window) {
                    ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rgw/rgw_sync.cc: In member function ‘int RGWMetaSyncShardCR::incremental_sync()’:
src/rgw/rgw_sync.cc:1854:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
               while (num_spawned() > cct->_conf->rgw_meta_sync_spawn_window) {
                      ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Actions #1

Updated by Casey Bodley almost 2 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Casey Bodley
  • Pull request ID set to 46536
Actions #2

Updated by Casey Bodley almost 2 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF