diff options
Diffstat (limited to 'vcl/win/source/gdi/salgdi2.cxx')
-rw-r--r-- | vcl/win/source/gdi/salgdi2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/salgdi2.cxx b/vcl/win/source/gdi/salgdi2.cxx index ec240adb0c6a..2d9006069cc5 100644 --- a/vcl/win/source/gdi/salgdi2.cxx +++ b/vcl/win/source/gdi/salgdi2.cxx @@ -624,7 +624,7 @@ bool WinSalGraphics::drawAlphaRect( long nX, long nY, long nWidth, BLENDFUNCTION aFunc = { AC_SRC_OVER, 0, - 255 - 255L*nTransparency/100, + sal::static_int_cast<sal_uInt8>(255 - 255L*nTransparency/100), 0 }; |