[Libreoffice-commits] core.git: vcl/unx
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Wed Nov 27 16:29:18 UTC 2019
vcl/unx/gtk3/gtk3gtkinst.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0d1248a080ed573aba289ac64bdf77dcc6a89ce3
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Nov 27 14:43:09 2019 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Nov 27 17:27:17 2019 +0100
Blind fix for 32-bit builds
(where sal_Int32 is long, not int)
Change-Id: I45c937f1622b2599b5f63a1dba04757276663302
Reviewed-on: https://gerrit.libreoffice.org/83912
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 71242e134847..976ed97be496 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -2931,7 +2931,7 @@ namespace
css::uno::Sequence<css::beans::PropertyValue> aFilterData(1);
aFilterData[0].Name = "Compression";
// We "know" that this gets passed to zlib's deflateInit2_(). 1 means best speed.
- aFilterData[0].Value <<= 1;
+ aFilterData[0].Value <<= sal_Int32(1);
vcl::PNGWriter aWriter(aImage.GetBitmapEx(), &aFilterData);
aWriter.Write(*xMemStm);
More information about the Libreoffice-commits
mailing list