[Libreoffice-commits] core.git: sal/qa

Eike Rathke erack at redhat.com
Mon Jun 27 19:09:28 UTC 2016


 sal/qa/rtl/math/test-rtl-math.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 1511f5c399182c003c19cc18b316f2fdaac0501d
Author: Eike Rathke <erack at redhat.com>
Date:   Mon Jun 27 21:08:35 2016 +0200

    comfort the unhappy compiler
    
    Change-Id: I376040a22b17037893704afbce2b651f8cf2c074

diff --git a/sal/qa/rtl/math/test-rtl-math.cxx b/sal/qa/rtl/math/test-rtl-math.cxx
index dc40b22..58b27b0 100644
--- a/sal/qa/rtl/math/test-rtl-math.cxx
+++ b/sal/qa/rtl/math/test-rtl-math.cxx
@@ -63,28 +63,28 @@ public:
                 rtl::OUString("NaN"),
                 '.', ',', &status, &end);
         CPPUNIT_ASSERT_EQUAL(rtl_math_ConversionStatus_Ok, status);
-        CPPUNIT_ASSERT_EQUAL(3, end);
+        CPPUNIT_ASSERT_EQUAL(sal_Int32(3), end);
         CPPUNIT_ASSERT_EQUAL(rtl::math::isNan(res), true);
 
         res = rtl::math::stringToDouble(
                 rtl::OUString("NaN1.23"),
                 '.', ',', &status, &end);
         CPPUNIT_ASSERT_EQUAL(rtl_math_ConversionStatus_Ok, status);
-        CPPUNIT_ASSERT_EQUAL(3, end);
+        CPPUNIT_ASSERT_EQUAL(sal_Int32(3), end);
         CPPUNIT_ASSERT_EQUAL(rtl::math::isNan(res), true);
 
         res = rtl::math::stringToDouble(
                 rtl::OUString("INF"),
                 '.', ',', &status, &end);
         CPPUNIT_ASSERT_EQUAL(rtl_math_ConversionStatus_OutOfRange, status);
-        CPPUNIT_ASSERT_EQUAL(3, end);
+        CPPUNIT_ASSERT_EQUAL(sal_Int32(3), end);
         CPPUNIT_ASSERT_EQUAL(rtl::math::isInf(res), true);
 
         res = rtl::math::stringToDouble(
                 rtl::OUString("INF1.23"),
                 '.', ',', &status, &end);
         CPPUNIT_ASSERT_EQUAL(rtl_math_ConversionStatus_OutOfRange, status);
-        CPPUNIT_ASSERT_EQUAL(3, end);
+        CPPUNIT_ASSERT_EQUAL(sal_Int32(3), end);
         CPPUNIT_ASSERT_EQUAL(rtl::math::isInf(res), true);
     }
 


More information about the Libreoffice-commits mailing list