diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-23 13:17:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-23 13:17:38 +0200 |
commit | cffc2471bc7d08f27a995e4e0f6fcf49d74d0f5a (patch) | |
tree | c56abbc78ffb748238729965be7cb61083884c01 /vcl/source/filter/igif | |
parent | df43ab2dfb695eedd6faf28f184446dde4d900ce (diff) |
Silence C4334: '<<': result of 32-bit shift implicitly converted to 64 bits
Change-Id: I40173fe1bb22b8444b1a85f8bdecc07a9f9c354f
Diffstat (limited to 'vcl/source/filter/igif')
-rw-r--r-- | vcl/source/filter/igif/gifread.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/filter/igif/gifread.cxx b/vcl/source/filter/igif/gifread.cxx index e45df548b94a..4edb05666ed2 100644 --- a/vcl/source/filter/igif/gifread.cxx +++ b/vcl/source/filter/igif/gifread.cxx @@ -248,7 +248,7 @@ bool GIFReader::ReadGlobalHeader() bGlobalPalette = ( nRF & 0x80 ); if( bGlobalPalette ) - ReadPaletteEntries( &aGPalette, 1UL << ( ( nRF & 7 ) + 1 ) ); + ReadPaletteEntries( &aGPalette, sal_uLong(1) << ( ( nRF & 7 ) + 1 ) ); else nBackgroundColor = 0; @@ -459,7 +459,7 @@ bool GIFReader::ReadLocalHeader() if( nFlags & 0x80 ) { pPal = &aLPalette; - ReadPaletteEntries( pPal, 1UL << ( (nFlags & 7 ) + 1 ) ); + ReadPaletteEntries( pPal, sal_uLong(1) << ( (nFlags & 7 ) + 1 ) ); } else pPal = &aGPalette; |