Project

General

Profile

Cleanup #52754

Updated by Deepika Upadhyay over 2 years ago

<pre> 
 ../src/client/Client.cc: In member function 'int Client::_setattr(InodeRef&, _stat64*, int, const UserPerm&)': 
 ../src/client/Client.cc:7686:49: warning: comparison of integer expressions of different signedness: 'short int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare] 
  7686 |     if ((mask & CEPH_SETATTR_UID) && attr->st_uid == static_cast<uid_t>(-1)) { 
       |                                      ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 
 ../src/client/Client.cc:7689:49: warning: comparison of integer expressions of different signedness: 'short int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare] 
  7689 |     if ((mask & CEPH_SETATTR_GID) && attr->st_gid == static_cast<uid_t>(-1)) { 
       |                                      ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 
 </pre> 

 find more at: https://jenkins.ceph.com/job/ceph-dev-new-build/ARCH=x86_64,AVAILABLE_ARCH=x86_64,AVAILABLE_DIST=windows,DIST=windows,MACHINE_SIZE=gigantic/57699//consoleFull

Back