From: Samuel Mehrbrodt Date: Mon, 11 May 2020 05:48:23 +0000 (+0200) Subject: Fix 32bit linux build X-Git-Tag: archive/raspbian/1%6.4.5_rc1-2+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c8707d315370fe21ba32ea9e7643e3c03a87e10b;p=libreoffice.git Fix 32bit linux build Change-Id: I4faf3fb20c632163f98264d162bbf85f80b3603d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93797 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt (cherry picked from commit fa0d576378cafab396a3fb75b1dbe1905d5df9ce) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96090 Reviewed-by: Michael Stahl (cherry picked from commit c7bb5be1b6a9d6ea8a3fb10dba32c2fd346261a3) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96095 Reviewed-by: Stephan Bergmann Tested-by: Stephan Bergmann Gbp-Pq: Name fix-32bit-build.diff --- diff --git a/toolkit/qa/cppunit/EventContainer.cxx b/toolkit/qa/cppunit/EventContainer.cxx index 300c8e5adb7..97a125c6082 100644 --- a/toolkit/qa/cppunit/EventContainer.cxx +++ b/toolkit/qa/cppunit/EventContainer.cxx @@ -70,7 +70,7 @@ CPPUNIT_TEST_FIXTURE(EventContainerTest, testInsertOrder) Sequence aEventNames(xEvents->getElementNames()); sal_Int32 nEventCount = aEventNames.getLength(); - CPPUNIT_ASSERT_EQUAL(4, nEventCount); + CPPUNIT_ASSERT_EQUAL(static_cast(4), nEventCount); CPPUNIT_ASSERT_EQUAL(OUString("b"), aEventNames[0]); CPPUNIT_ASSERT_EQUAL(OUString("a"), aEventNames[1]);