[Libreoffice-commits] core.git: vcl/source

Jan Holesovsky (via logerrit) logerrit at kemper.freedesktop.org
Thu Mar 12 15:57:57 UTC 2020


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

New commits:
commit aa415fc7266ca530e1e11c5a89f5da3ef260e2ee
Author:     Jan Holesovsky <kendy at collabora.com>
AuthorDate: Thu Mar 12 15:03:01 2020 +0100
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Thu Mar 12 16:57:18 2020 +0100

    android: Fix 32bit build.
    
    Change-Id: Ife6740860cd7e1844b1ff0166694652538048a44
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90411
    Tested-by: Jenkins
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx
index 7811b9ebb946..5f993934fbfa 100644
--- a/vcl/source/filter/graphicfilter.cxx
+++ b/vcl/source/filter/graphicfilter.cxx
@@ -2213,7 +2213,7 @@ IMPL_LINK( GraphicFilter, FilterCallback, ConvertData&, rData, bool )
             aFilterData.realloc(aFilterData.getLength() + 1);
             aFilterData[aFilterData.getLength() - 1].Name = "Compression";
             // We "know" that this gets passed to zlib's deflateInit2_(). 1 means best speed.
-            aFilterData[aFilterData.getLength() - 1].Value <<= sal_uInt32(1);
+            aFilterData[aFilterData.getLength() - 1].Value <<= static_cast<sal_Int32>(1);
         }
 #endif
         nFormat = GetExportFormatNumberForShortName( OStringToOUString(aShortName, RTL_TEXTENCODING_UTF8) );


More information about the Libreoffice-commits mailing list