diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-11-27 14:43:09 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-11-27 17:27:17 +0100 |
commit | 0d1248a080ed573aba289ac64bdf77dcc6a89ce3 (patch) | |
tree | 35267dd8585775c0df7fef49eac5abf6bd133c30 /vcl | |
parent | ec9e1c5fed8cc545b0a7bf7d3a9cb0f8b2f3b2d2 (diff) |
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@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkinst.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |