]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: fix a signed/unsigned comparison warning 4182/head
authorGreg Farnum <gfarnum@redhat.com>
Wed, 25 Mar 2015 19:03:38 +0000 (12:03 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 25 Mar 2015 19:03:38 +0000 (12:03 -0700)
commite51761233e00f416e661fc957be4d99b0d190e73
tree2f27ed2ca0af8e64ac2064f49ba1efb12cb71141
parent2724ce2d1b7411b5027a34005ec2eff0bba78a09
ReplicatedPG: fix a signed/unsigned comparison warning

This mismatch about whether pool IDs are signed or unsigned is
a persistent annoyance. I'm now casting the unsigned down to signed space
because apparently the OSD is using negative IDs for temporary object
namespaces.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/osd/ReplicatedPG.cc