]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test: fix signed/unsigned warnings in TestCrushWrapper.cc
authorGreg Farnum <greg@inktank.com>
Fri, 14 Feb 2014 01:28:42 +0000 (17:28 -0800)
committerGreg Farnum <greg@inktank.com>
Fri, 14 Feb 2014 06:01:59 +0000 (22:01 -0800)
commite44122f0946578875cbe3fc375298fc528ed89d8
tree6ac29b64bb2533438fa9d277c5024c1a69908e53
parent0ae5e53e8bd5101c606617fd6cd4a88997c9a0d4
test: fix signed/unsigned warnings in TestCrushWrapper.cc

Irritatingly, using 0 binds to int and generates warnings
if the thing we're checking is unsigned, so we have to be
explicit.

Signed-off-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Sam Just <sam.just@inktank.com>
src/test/crush/TestCrushWrapper.cc