diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2013-10-17 21:55:49 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2013-10-17 21:57:21 +0200 |
commit | b9c9874853c3e5f6e2bd83d4b48fdd9eb8b5c561 (patch) | |
tree | 25e3577ac6b97cf6081b1bdc7fc0b4f352b00c47 /sax | |
parent | 45d569be8f1db177bc539db75e225d8c60cdfca6 (diff) |
sax: fix build: needs explicit type
Change-Id: I5a5c52215b0177d663f0694515240c3f95a3ab40
Diffstat (limited to 'sax')
-rw-r--r-- | sax/qa/cppunit/attributes.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sax/qa/cppunit/attributes.cxx b/sax/qa/cppunit/attributes.cxx index b0f99b0e7856..a573f9ddb4b6 100644 --- a/sax/qa/cppunit/attributes.cxx +++ b/sax/qa/cppunit/attributes.cxx @@ -63,15 +63,15 @@ void AttributesTest::test() aAttributeList.addUnknown("a", "a"); aAttributeList.addUnknown("b", "b", "b"); aAttributeList.addUnknown("c", "c"); - CPPUNIT_ASSERT_EQUAL( 3, aAttributeList.getUnknownAttributes().getLength() ); + CPPUNIT_ASSERT_EQUAL( (sal_Int32) 3, aAttributeList.getUnknownAttributes().getLength() ); - CPPUNIT_ASSERT_EQUAL( 2, aAttributeList.getFastAttributes().getLength() ); + CPPUNIT_ASSERT_EQUAL( (sal_Int32) 2, aAttributeList.getFastAttributes().getLength() ); aAttributeList.clear(); CPPUNIT_ASSERT( !aAttributeList.hasAttribute(1) ); - CPPUNIT_ASSERT_EQUAL( 0, aAttributeList.getFastAttributes().getLength() ); + CPPUNIT_ASSERT_EQUAL( (sal_Int32) 0, aAttributeList.getFastAttributes().getLength() ); aAttributeList.addUnknown("c", "c"); - CPPUNIT_ASSERT_EQUAL( 1, aAttributeList.getUnknownAttributes().getLength() ); + CPPUNIT_ASSERT_EQUAL( (sal_Int32) 1, aAttributeList.getUnknownAttributes().getLength() ); } CPPUNIT_TEST_SUITE_REGISTRATION( AttributesTest ); |