summaryrefslogtreecommitdiff
path: root/vcl/generic/glyphs/gcach_ftyp.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-03-02 09:29:48 +0200
committerTor Lillqvist <tml@collabora.com>2015-03-02 09:29:48 +0200
commitbc4a2d7ce9d4417f9d6cd58505d4ea3e959b1354 (patch)
tree15d174876a4cedcd3ddc15cd0b273273af9fa437 /vcl/generic/glyphs/gcach_ftyp.cxx
parent4a87597e424dea17ac60f17af937961440295757 (diff)
WaE: comparison of integers of different signs
Change-Id: Ie3c7fd8b72cd3cd3f9943c026ca348d9ed3c31f0
Diffstat (limited to 'vcl/generic/glyphs/gcach_ftyp.cxx')
-rw-r--r--vcl/generic/glyphs/gcach_ftyp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx
index fd09cf405fbc..b9c4d9429671 100644
--- a/vcl/generic/glyphs/gcach_ftyp.cxx
+++ b/vcl/generic/glyphs/gcach_ftyp.cxx
@@ -1214,7 +1214,7 @@ bool ServerFont::GetGlyphBitmap8( sal_GlyphId aGlyphId, RawBitmap& rRawBitmap )
unsigned int x;
for( int y = rRawBitmap.mnHeight; --y >= 0 ; )
{
- for( x = 0; x < rBitmapFT.width; ++x )
+ for( x = 0; x < static_cast<unsigned int>(rBitmapFT.width); ++x )
*(pDest++) = *(pSrc++);
for(; x < rRawBitmap.mnScanlineSize; ++x )
*(pDest++) = 0;
@@ -1226,7 +1226,7 @@ bool ServerFont::GetGlyphBitmap8( sal_GlyphId aGlyphId, RawBitmap& rRawBitmap )
for( int y = rRawBitmap.mnHeight; --y >= 0 ; )
{
unsigned char nSrc = 0;
- for( x = 0; x < rBitmapFT.width; ++x, nSrc+=nSrc )
+ for( x = 0; x < static_cast<unsigned int>(rBitmapFT.width); ++x, nSrc+=nSrc )
{
if( (x & 7) == 0 )
nSrc = *(pSrc++);