vcl/source/filter/svm/SvmConverter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 954b8253b798d0c1fe37806dc773ce0128bde785
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Tue Aug 8 20:51:06 2023 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Wed Aug 9 09:47:26 2023 +0200

    ofz: Integer-overflow Tell() returns sal_uInt64 not sal_Int32
    
    Change-Id: Ib17cc045316d468be306a678ddb9b2b4b08f6f4e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155497
    Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/vcl/source/filter/svm/SvmConverter.cxx 
b/vcl/source/filter/svm/SvmConverter.cxx
index 48e5a29f5a31..2c2ba2c70977 100644
--- a/vcl/source/filter/svm/SvmConverter.cxx
+++ b/vcl/source/filter/svm/SvmConverter.cxx
@@ -370,7 +370,7 @@ void SVMConverter::ImplConvertFromSVM1( SvStream& rIStm, 
GDIMetaFile& rMtf )
     {
         sal_Int16 nType(0);
         rIStm.ReadInt16(nType);
-        sal_Int32 nActBegin = rIStm.Tell();
+        sal_uInt64 nActBegin = rIStm.Tell();
         sal_Int32 nActionSize(0);
         rIStm.ReadInt32(nActionSize);
 

Reply via email to