diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-20 10:42:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-05-20 10:58:57 +0200 |
commit | 4a8caa37fe83c389f4fd43219e8ea0f21f03c6fe (patch) | |
tree | a3582c560ee5c936e8aa5b854b2a0e78b3d4854f /vcl | |
parent | 5840c2787c61bcbb5401d2aa0fc9e163e303f76c (diff) |
warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits
in VisualStudio
reported by Luke Benes
Change-Id: I908039750a3e89e4d1b77631f7d309191735c765
Diffstat (limited to 'vcl')
-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 01060abb3a26..e45df548b94a 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, 1 << ( ( nRF & 7 ) + 1 ) ); + ReadPaletteEntries( &aGPalette, 1UL << ( ( nRF & 7 ) + 1 ) ); else nBackgroundColor = 0; @@ -459,7 +459,7 @@ bool GIFReader::ReadLocalHeader() if( nFlags & 0x80 ) { pPal = &aLPalette; - ReadPaletteEntries( pPal, 1 << ( (nFlags & 7 ) + 1 ) ); + ReadPaletteEntries( pPal, 1UL << ( (nFlags & 7 ) + 1 ) ); } else pPal = &aGPalette; |