1 diff --git a/core/fxge/dib/cfx_imagetransformer.cpp b/core/fxge/dib/cfx_imagetransformer.cpp
2 index 8e01127b0..f4ce4d915 100644
3 --- a/core/fxge/dib/cfx_imagetransformer.cpp
4 +++ b/core/fxge/dib/cfx_imagetransformer.cpp
5 @@ -315,14 +315,14 @@ bool CFX_ImageTransformer::Continue(IFX_PauseIndicator* pPause) {
6 } else if (pDestMask) {
8 pDestMask.Get(), result2stretch, pSrcMaskBuf,
9 - m_Storer.GetBitmap()->m_pAlphaMask->GetPitch(),
10 + static_cast<uint32_t>(m_Storer.GetBitmap()->m_pAlphaMask->GetPitch()),
15 CalcData cdata = {pTransformed.Get(), result2stretch,
16 m_Storer.GetBitmap()->GetBuffer(),
17 - m_Storer.GetBitmap()->GetPitch()};
18 + static_cast<uint32_t>(m_Storer.GetBitmap()->GetPitch())};
19 if (m_Storer.GetBitmap()->IsAlphaMask()) {