diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-08-09 09:27:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-08-09 09:29:28 +0200 |
commit | c42ac01b221292a4480037e145b0d5b11c4d412e (patch) | |
tree | 4ebbce2d18091f4e15d158c8b12ec489bc239af9 /writerperfect/qa | |
parent | 409e6a2e0b89eab82e79b0cd122062f47c6c7afb (diff) |
-Werror=sign-compare
Change-Id: Ibcf2ef9e81befbed56e174c9e33ad27e71c97cb1
Diffstat (limited to 'writerperfect/qa')
-rw-r--r-- | writerperfect/qa/unit/WPXSvStreamTest.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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<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()); |