Kaydet (Commit) cffc2471 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Silence C4334: '<<': result of 32-bit shift implicitly converted to 64 bits

Change-Id: I40173fe1bb22b8444b1a85f8bdecc07a9f9c354f
üst df43ab2d
...@@ -248,7 +248,7 @@ bool GIFReader::ReadGlobalHeader() ...@@ -248,7 +248,7 @@ bool GIFReader::ReadGlobalHeader()
bGlobalPalette = ( nRF & 0x80 ); bGlobalPalette = ( nRF & 0x80 );
if( bGlobalPalette ) if( bGlobalPalette )
ReadPaletteEntries( &aGPalette, 1UL << ( ( nRF & 7 ) + 1 ) ); ReadPaletteEntries( &aGPalette, sal_uLong(1) << ( ( nRF & 7 ) + 1 ) );
else else
nBackgroundColor = 0; nBackgroundColor = 0;
...@@ -459,7 +459,7 @@ bool GIFReader::ReadLocalHeader() ...@@ -459,7 +459,7 @@ bool GIFReader::ReadLocalHeader()
if( nFlags & 0x80 ) if( nFlags & 0x80 )
{ {
pPal = &aLPalette; pPal = &aLPalette;
ReadPaletteEntries( pPal, 1UL << ( (nFlags & 7 ) + 1 ) ); ReadPaletteEntries( pPal, sal_uLong(1) << ( (nFlags & 7 ) + 1 ) );
} }
else else
pPal = &aGPalette; pPal = &aGPalette;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment