summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/gdi/octree.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/octree.cxx b/vcl/source/gdi/octree.cxx
index 21c0a4265e90..4517b9db234c 100644
--- a/vcl/source/gdi/octree.cxx
+++ b/vcl/source/gdi/octree.cxx
@@ -260,9 +260,9 @@ InverseColorMap::InverseColorMap( const BitmapPalette& rPal ) :
for( sal_uLong nIndex = 0; nIndex < nColors; nIndex++ )
{
const BitmapColor& rColor = rPal[ (sal_uInt16) nIndex ];
- const sal_uInt8 cRed = rColor.GetRed();
- const sal_uInt8 cGreen = rColor.GetGreen();
- const sal_uInt8 cBlue = rColor.GetBlue();
+ const long cRed = rColor.GetRed();
+ const long cGreen = rColor.GetGreen();
+ const long cBlue = rColor.GetBlue();
rdist = cRed - x2;
gdist = cGreen - x2;