[Libreoffice-commits] core.git: writerperfect/qa
Stephan Bergmann
sbergman at redhat.com
Fri Aug 9 00:29:50 PDT 2013
writerperfect/qa/unit/WPXSvStreamTest.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit c42ac01b221292a4480037e145b0d5b11c4d412e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Aug 9 09:27:14 2013 +0200
-Werror=sign-compare
Change-Id: Ibcf2ef9e81befbed56e174c9e33ad27e71c97cb1
diff --git a/writerperfect/qa/unit/WPXSvStreamTest.cxx b/writerperfect/qa/unit/WPXSvStreamTest.cxx
index 287d3fd..1dc6527 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());
More information about the Libreoffice-commits
mailing list