[Libreoffice-commits] .: sal/qa
Michael Meeks
michael at kemper.freedesktop.org
Mon Jul 16 03:23:02 PDT 2012
sal/qa/rtl/strings/test_oustring_compare.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0dde6d4a2d14dcb09187d476c4fbb80b6e008315
Author: Michael Meeks <michael.meeks at suse.com>
Date: Mon Jul 16 11:19:34 2012 +0100
fix 32bit build wrt. int vs. sal_Int32 comparison
Change-Id: I7ae0014c2b8e14dabab0d64cb498abb820b3968d
diff --git a/sal/qa/rtl/strings/test_oustring_compare.cxx b/sal/qa/rtl/strings/test_oustring_compare.cxx
index e8e4c91..1ad6867 100644
--- a/sal/qa/rtl/strings/test_oustring_compare.cxx
+++ b/sal/qa/rtl/strings/test_oustring_compare.cxx
@@ -76,7 +76,7 @@ void test::oustring::Compare::compareToAscii()
rtl::OUString abc("abc");
CPPUNIT_ASSERT(abc.compareToAscii("a") > 0);
CPPUNIT_ASSERT_EQUAL(
- 0, abc.compareToAscii(RTL_CONSTASCII_STRINGPARAM("a")));
+ sal_Int32(0), abc.compareToAscii(RTL_CONSTASCII_STRINGPARAM("a")));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list