diff --git a/patches/disable-tests-somehow-needing-more-fonts.diff b/patches/disable-tests-somehow-needing-more-fonts.diff
index ed0ab894..8ddf46a4 100644
--- a/patches/disable-tests-somehow-needing-more-fonts.diff
+++ b/patches/disable-tests-somehow-needing-more-fonts.diff
@@ -140,7 +140,7 @@ index c65b1c2f391e..8becb860cc0b 100644
      CPPUNIT_TEST(testConstruction);
      CPPUNIT_TEST(testUnoTextFields);
      CPPUNIT_TEST(testAutocorrect);
-@@ -137,91 +130,6 @@ void Test::tearDown()
+@@ -140,91 +133,6 @@ void Test::tearDown()
      test::BootstrapFixture::tearDown();
  }
  
@@ -191,19 +191,19 @@ index c65b1c2f391e..8becb860cc0b 100644
 -
 -    // Force multiple lines
 -    aEditEngine.SetPaperSize(Size(1000, 6000));
--    CPPUNIT_ASSERT_EQUAL((sal_Int32)4, aEditEngine.GetLineCount(0));
+-    CPPUNIT_ASSERT_EQUAL(sal_Int32(4), aEditEngine.GetLineCount(0));
 -
 -    // Assert changes
 -    ParaPortion* pParaPortion = aEditEngine.GetParaPortions()[0];
 -    ContentNode* const pNode = pParaPortion->GetNode();
 -    const SvxLineSpacingItem& rLSItem = pNode->GetContentAttribs().GetItem(EE_PARA_SBL);
 -    CPPUNIT_ASSERT_EQUAL(SvxInterLineSpaceRule::Prop, rLSItem.GetInterLineSpaceRule());
--    CPPUNIT_ASSERT_EQUAL((sal_uInt16)60, rLSItem.GetPropLineSpace());
+-    CPPUNIT_ASSERT_EQUAL(sal_uInt16(60), rLSItem.GetPropLineSpace());
 -
 -    // Check the first line
 -    ParagraphInfos aInfo = aEditEngine.GetParagraphInfos(0);
--    CPPUNIT_ASSERT_EQUAL((sal_uInt16)122, aInfo.nFirstLineMaxAscent);
--    CPPUNIT_ASSERT_EQUAL((sal_uInt16)153, (sal_uInt16)aEditEngine.GetLineHeight(0));
+-    CPPUNIT_ASSERT_EQUAL(sal_uInt16(122), aInfo.nFirstLineMaxAscent);
+-    CPPUNIT_ASSERT_EQUAL(sal_uInt16(153), static_cast<sal_uInt16>(aEditEngine.GetLineHeight(0)));
 -
 -    // Prepare second case - 150%
 -    std::unique_ptr<SfxItemSet> pSet2(new SfxItemSet(aEditEngine.GetEmptyItemSet()));
@@ -221,12 +221,12 @@ index c65b1c2f391e..8becb860cc0b 100644
 -    // Assert changes
 -    const SvxLineSpacingItem& rLSItem2 = pNode->GetContentAttribs().GetItem(EE_PARA_SBL);
 -    CPPUNIT_ASSERT_EQUAL(SvxInterLineSpaceRule::Prop, rLSItem2.GetInterLineSpaceRule());
--    CPPUNIT_ASSERT_EQUAL((sal_uInt16)150, rLSItem2.GetPropLineSpace());
+-    CPPUNIT_ASSERT_EQUAL(sal_uInt16(150), rLSItem2.GetPropLineSpace());
 -
 -    // Check the first line
 -    ParagraphInfos aInfo2 = aEditEngine.GetParagraphInfos(0);
--    CPPUNIT_ASSERT_EQUAL((sal_uInt16)269, aInfo2.nFirstLineMaxAscent);
--    CPPUNIT_ASSERT_EQUAL((sal_uInt16)382, (sal_uInt16)aEditEngine.GetLineHeight(0));
+-    CPPUNIT_ASSERT_EQUAL(sal_uInt16(311), aInfo2.nFirstLineMaxAscent);
+-    CPPUNIT_ASSERT_EQUAL(sal_uInt16(382), static_cast<sal_uInt16>(aEditEngine.GetLineHeight(0)));
 -}
 -
  void Test::testConstruction()
