svx/source/gallery2/codec.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e1a882e82331e3ee301332e3d10b36b5620073f9
Author:     Chizoba ODINAKA <chizobajame...@gmail.com>
AuthorDate: Sat Oct 19 20:19:15 2024 +0100
Commit:     David Gilbert <freedesk...@treblig.org>
CommitDate: Sun Oct 20 22:34:17 2024 +0200

    tdf#75280 Convert sal_uIntPtr to size_t a more appropriate integer type
    
    Change-Id: Ia4bb455877a2c8c8c125c643c3ea6e4c162dea20
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175248
    Reviewed-by: David Gilbert <freedesk...@treblig.org>
    Tested-by: Jenkins

diff --git a/svx/source/gallery2/codec.cxx b/svx/source/gallery2/codec.cxx
index 062c60dbecc6..5c549bd80173 100644
--- a/svx/source/gallery2/codec.cxx
+++ b/svx/source/gallery2/codec.cxx
@@ -98,7 +98,7 @@ void GalleryCodec::Read( SvStream& rStmToRead )
         std::unique_ptr<sal_uInt8[]> pOutBuf(new sal_uInt8[ nUnCompressedSize 
]);
         sal_uInt8*  pTmpBuf = pOutBuf.get();
         sal_uInt8*  pLast = pOutBuf.get() + nUnCompressedSize - 1;
-        sal_uIntPtr   nIndex = 0, nCountByte, nRunByte;
+        size_t   nIndex = 0, nCountByte, nRunByte;
         bool    bEndDecoding = false;
 
         do

Reply via email to