]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
tools/cephfs: Explicitly convert to char
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 17 Jul 2020 06:44:31 +0000 (02:44 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 17 Jul 2020 18:18:17 +0000 (14:18 -0400)
commitbe3d72740fe0d84257d72c58cd3312a3314e469e
treeb8ae6148d547680d304e737257f96d035f61f5e5
parent2dfd12680847330ddef2fabb340fca10d082a5da
tools/cephfs: Explicitly convert to char

Whether char is signed or not is implementation defined, and if char
is signed converting 255 to a char will turn a positive value into a
negative.

Silence the warning by converting explicitly.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/tools/cephfs/MetaTool.h