-Werror=sign-compare

Change-Id: Ibcf2ef9e81befbed56e174c9e33ad27e71c97cb1
This commit is contained in:
Stephan Bergmann
2013-08-09 09:27:14 +02:00
parent 409e6a2e0b
commit c42ac01b22

View File

@@ -135,7 +135,7 @@ void WPXSvStreamTest::testRead()
void WPXSvStreamTest::testSeekSet() void WPXSvStreamTest::testSeekSet()
{ {
const shared_ptr<WPXInputStream> pInput(lcl_createStream()); const shared_ptr<WPXInputStream> pInput(lcl_createStream());
const size_t nLen = sizeof aText; const long nLen = sizeof aText;
// check initial state // check initial state
CPPUNIT_ASSERT_EQUAL(0L, pInput->tell()); CPPUNIT_ASSERT_EQUAL(0L, pInput->tell());
@@ -173,7 +173,7 @@ void WPXSvStreamTest::testSeekSet()
void WPXSvStreamTest::testSeekCur() void WPXSvStreamTest::testSeekCur()
{ {
const shared_ptr<WPXInputStream> pInput(lcl_createStream()); const shared_ptr<WPXInputStream> pInput(lcl_createStream());
const size_t nLen = sizeof aText; const long nLen = sizeof aText;
// check initial state // check initial state
CPPUNIT_ASSERT(!pInput->atEOS()); CPPUNIT_ASSERT(!pInput->atEOS());
@@ -210,7 +210,7 @@ void WPXSvStreamTest::testSeekCur()
void WPXSvStreamTest::testSeekEnd() void WPXSvStreamTest::testSeekEnd()
{ {
const shared_ptr<WPXInputStream> pInput(lcl_createStream()); const shared_ptr<WPXInputStream> pInput(lcl_createStream());
const size_t nLen = sizeof aText; const long nLen = sizeof aText;
// check initial state // check initial state
CPPUNIT_ASSERT(!pInput->atEOS()); CPPUNIT_ASSERT(!pInput->atEOS());