Fix 32bit linux build
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Mon, 11 May 2020 05:48:23 +0000 (07:48 +0200)
committerRene Engelhard <rene@debian.org>
Sun, 21 Jun 2020 11:07:16 +0000 (12:07 +0100)
Change-Id: I4faf3fb20c632163f98264d162bbf85f80b3603d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93797
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
(cherry picked from commit fa0d576378cafab396a3fb75b1dbe1905d5df9ce)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96090
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
(cherry picked from commit c7bb5be1b6a9d6ea8a3fb10dba32c2fd346261a3)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96095
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Gbp-Pq: Name fix-32bit-build.diff

toolkit/qa/cppunit/EventContainer.cxx

index 300c8e5adb74bac570769c0ba486cb1b0c8ef55e..97a125c60824287af1a29907ae4633f0be140603 100644 (file)
@@ -70,7 +70,7 @@ CPPUNIT_TEST_FIXTURE(EventContainerTest, testInsertOrder)
 
     Sequence<OUString> aEventNames(xEvents->getElementNames());
     sal_Int32 nEventCount = aEventNames.getLength();
-    CPPUNIT_ASSERT_EQUAL(4, nEventCount);
+    CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(4), nEventCount);
 
     CPPUNIT_ASSERT_EQUAL(OUString("b"), aEventNames[0]);
     CPPUNIT_ASSERT_EQUAL(OUString("a"), aEventNames[1]);