diff options
Diffstat (limited to 'vcl/source/filter/igif/gifread.cxx')
-rw-r--r-- | vcl/source/filter/igif/gifread.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/filter/igif/gifread.cxx b/vcl/source/filter/igif/gifread.cxx index 4f7fe836e23f..7b9ac2ab799c 100644 --- a/vcl/source/filter/igif/gifread.cxx +++ b/vcl/source/filter/igif/gifread.cxx @@ -270,7 +270,7 @@ void GIFReader::ReadPaletteEntries( BitmapPalette* pPal, sal_uLong nCount ) if (nLen > nMaxPossible) nLen = nMaxPossible; std::unique_ptr<sal_uInt8[]> pBuf(new sal_uInt8[ nLen ]); - sal_Size nRead = rIStm.ReadBytes(pBuf.get(), nLen); + std::size_t nRead = rIStm.ReadBytes(pBuf.get(), nLen); nCount = nRead/3UL; if( NO_PENDING( rIStm ) ) { @@ -417,7 +417,7 @@ bool GIFReader::ReadExtension() std::unique_ptr<sal_uInt8[]> pBuffer(new sal_uInt8[nCount]); bRet = false; - sal_Size nRead = rIStm.ReadBytes(pBuffer.get(), nCount); + std::size_t nRead = rIStm.ReadBytes(pBuffer.get(), nCount); if (NO_PENDING(rIStm) && cSize < nRead) { cSize = pBuffer[cSize]; @@ -437,7 +437,7 @@ bool GIFReader::ReadLocalHeader() sal_uInt8 pBuf[ 9 ]; bool bRet = false; - sal_Size nRead = rIStm.ReadBytes(pBuf, 9); + std::size_t nRead = rIStm.ReadBytes(pBuf, 9); if (NO_PENDING(rIStm) && nRead == 9) { SvMemoryStream aMemStm; |