Actions
Bug #55898
closedrgw_sync.cc warning: comparison of integer expressions of different signedness
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
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) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
Updated by Casey Bodley almost 2 years ago
- Status changed from Fix Under Review to Resolved
Actions