]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
unittest_mon_pgmap: fix warnings
authorSage Weil <sage@inktank.com>
Fri, 14 Mar 2014 19:47:59 +0000 (12:47 -0700)
committerSage Weil <sage@inktank.com>
Fri, 14 Mar 2014 20:19:18 +0000 (13:19 -0700)
commit6f9db6c70281f0b9041bbf529d78d976c9df9b5d
tree685801923e93493bce8de40e53c383932ddb5ee0
parente941fefff800e9cb5897a4fb0b02d16eaf9f7309
unittest_mon_pgmap: fix warnings

In file included from test/mon/PGMap.cc:15:0:
../src/gtest/include/gtest/gtest.h: In function ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = int, T2 = unsigned int]’:
../src/gtest/include/gtest/gtest.h:1300:30: instantiated from ‘static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&) [with T1 = int, T2 = unsigned int, bool lhs_is_null_literal = false]’
test/mon/PGMap.cc:33:257: instantiated from here
warning: ../src/gtest/include/gtest/gtest.h:1263:3: comparison between signed and unsigned integer expressions [-Wsign-compare]

Signed-off-by: Sage Weil <sage@inktank.com>
src/test/mon/PGMap.cc