summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/bitmap/BitmapProcessor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/bitmap/BitmapProcessor.cxx b/vcl/source/bitmap/BitmapProcessor.cxx
index e9d36ed53539..a82e35060ff7 100644
--- a/vcl/source/bitmap/BitmapProcessor.cxx
+++ b/vcl/source/bitmap/BitmapProcessor.cxx
@@ -24,9 +24,9 @@ BitmapEx BitmapProcessor::createLightImage(const BitmapEx& rBitmapEx)
if (pRead && pWrite)
{
- for (int nY = 0; nY < aSize.Height(); ++nY)
+ for (long nY = 0; nY < aSize.Height(); ++nY)
{
- for (int nX = 0; nX < aSize.Width(); ++nX)
+ for (long nX = 0; nX < aSize.Width(); ++nX)
{
BitmapColor aColor = pRead->HasPalette() ?
pRead->GetPaletteColor(pRead->GetPixelIndex(nY, nX)) :