diff options
Diffstat (limited to 'external/pdfium/build.patch.1')
-rw-r--r-- | external/pdfium/build.patch.1 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/external/pdfium/build.patch.1 b/external/pdfium/build.patch.1 new file mode 100644 index 000000000000..b852383ff84b --- /dev/null +++ b/external/pdfium/build.patch.1 @@ -0,0 +1,21 @@ +diff --git a/core/fxge/dib/cfx_imagetransformer.cpp b/core/fxge/dib/cfx_imagetransformer.cpp +index 8e01127b0..f4ce4d915 100644 +--- a/core/fxge/dib/cfx_imagetransformer.cpp ++++ b/core/fxge/dib/cfx_imagetransformer.cpp +@@ -315,14 +315,14 @@ bool CFX_ImageTransformer::Continue(IFX_PauseIndicator* pPause) { + } else if (pDestMask) { + CalcData cdata = { + pDestMask.Get(), result2stretch, pSrcMaskBuf, +- m_Storer.GetBitmap()->m_pAlphaMask->GetPitch(), ++ static_cast<uint32_t>(m_Storer.GetBitmap()->m_pAlphaMask->GetPitch()), + }; + CalcMask(cdata); + } + + CalcData cdata = {pTransformed.Get(), result2stretch, + m_Storer.GetBitmap()->GetBuffer(), +- m_Storer.GetBitmap()->GetPitch()}; ++ static_cast<uint32_t>(m_Storer.GetBitmap()->GetPitch())}; + if (m_Storer.GetBitmap()->IsAlphaMask()) { + CalcAlpha(cdata); + } else { |