]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: Avoid signedness weirdness
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 15 Mar 2019 19:22:05 +0000 (15:22 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 15 Mar 2019 19:22:05 +0000 (15:22 -0400)
commit48c1e44d573ef43a798352994db7c98de287f25c
treee3ce1a402c1fe8f9a4ef259abfd9b2b14bc2c115
parent9908f0e652b95051ab0aad40ef3ff5bad58f6d2f
rgw: Avoid signedness weirdness

If `char` is signed, then every `char` will be less than 255. Thus,
declare `e` as `unsigned char`.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/rgw_rados.cc