From c42ac01b221292a4480037e145b0d5b11c4d412e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 9 Aug 2013 09:27:14 +0200 Subject: -Werror=sign-compare Change-Id: Ibcf2ef9e81befbed56e174c9e33ad27e71c97cb1 --- writerperfect/qa/unit/WPXSvStreamTest.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'writerperfect/qa') diff --git a/writerperfect/qa/unit/WPXSvStreamTest.cxx b/writerperfect/qa/unit/WPXSvStreamTest.cxx index 287d3fde0fc7..1dc6527acea9 100644 --- a/writerperfect/qa/unit/WPXSvStreamTest.cxx +++ b/writerperfect/qa/unit/WPXSvStreamTest.cxx @@ -135,7 +135,7 @@ void WPXSvStreamTest::testRead() void WPXSvStreamTest::testSeekSet() { const shared_ptr 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 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 pInput(lcl_createStream()); - const size_t nLen = sizeof aText; + const long nLen = sizeof aText; // check initial state CPPUNIT_ASSERT(!pInput->atEOS()); -- cgit