]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
unittest_ceph_argparse: fix warnings
authorSage Weil <sage@inktank.com>
Fri, 14 Mar 2014 19:46:57 +0000 (12:46 -0700)
committerSage Weil <sage@inktank.com>
Fri, 14 Mar 2014 20:19:18 +0000 (13:19 -0700)
commite941fefff800e9cb5897a4fb0b02d16eaf9f7309
treecc956a0917e8e9cacb8199fdf7745ae870b48e83
parent984f1c3df37cb2f2cc0b0721d08d6c99307da15f
unittest_ceph_argparse: fix warnings

In file included from test/ceph_argparse.cc:17: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 = long unsigned int]’:
../src/gtest/include/gtest/gtest.h:1333:30: instantiated from ‘static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&) [with T1 = int, T2 = long unsigned int]’
test/ceph_argparse.cc:344:207: 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/ceph_argparse.cc