Kaydet (Commit) c42ac01b authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror=sign-compare

Change-Id: Ibcf2ef9e81befbed56e174c9e33ad27e71c97cb1
üst 409e6a2e
......@@ -135,7 +135,7 @@ void WPXSvStreamTest::testRead()
void WPXSvStreamTest::testSeekSet()
{
const shared_ptr<WPXInputStream> pInput(lcl_createStream());
const size_t nLen = sizeof aText;
const long nLen = sizeof aText;
// check initial state
CPPUNIT_ASSERT_EQUAL(0L, pInput->tell());
......@@ -173,7 +173,7 @@ void WPXSvStreamTest::testSeekSet()
void WPXSvStreamTest::testSeekCur()
{
const shared_ptr<WPXInputStream> pInput(lcl_createStream());
const size_t nLen = sizeof aText;
const long nLen = sizeof aText;
// check initial state
CPPUNIT_ASSERT(!pInput->atEOS());
......@@ -210,7 +210,7 @@ void WPXSvStreamTest::testSeekCur()
void WPXSvStreamTest::testSeekEnd()
{
const shared_ptr<WPXInputStream> pInput(lcl_createStream());
const size_t nLen = sizeof aText;
const long nLen = sizeof aText;
// check initial state
CPPUNIT_ASSERT(!pInput->atEOS());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment