summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-17 17:57:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-17 17:57:28 +0100
commitf425517f2f0c22462ed463ef37ba76fe5c05df12 (patch)
treed4b269ea017b531fe8739069004441f772be17ac /sal
parentd0ec8c49017b07862f8228c039bebe348eb28b0c (diff)
Fix 32-bit builds
Change-Id: I09049db51668176b90dabe2c82d525b2fab60299
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/rtl/strings/test_oustring_stringliterals.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
index 0848db19011a..c237b1732012 100644
--- a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
+++ b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
@@ -194,7 +194,7 @@ void test::oustring::StringLiterals::checkOUStringLiteral1()
{
rtl::OUString s1;
s1 = rtlunittest::OUStringLiteral1<'A'>();
- CPPUNIT_ASSERT_EQUAL(1, s1.getLength());
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(1), s1.getLength());
CPPUNIT_ASSERT_EQUAL(sal_Unicode('A'), s1[0]);
CPPUNIT_ASSERT_EQUAL(
@@ -207,7 +207,7 @@ void test::oustring::StringLiterals::checkOUStringLiteral1()
true, rtl::OUString("AB") != rtlunittest::OUStringLiteral1<'A'>());
rtl::OUString s2("A" + rtlunittest::OUStringLiteral1<'b'>());
- CPPUNIT_ASSERT_EQUAL(2, s2.getLength());
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(2), s2.getLength());
CPPUNIT_ASSERT_EQUAL(sal_Unicode('A'), s2[0]);
CPPUNIT_ASSERT_EQUAL(sal_Unicode('b'), s2[1]);
}