[Libreoffice-commits] core.git: vcl/unx
Thorsten Behrens (via logerrit)
logerrit at kemper.freedesktop.org
Mon Sep 16 16:04:34 UTC 2019
vcl/unx/gtk3/gtk3gtkframe.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 32efe70bbfc6c64df7cf73b6a6c0976ae1e038c8
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
AuthorDate: Mon Sep 16 16:48:21 2019 +0200
Commit: Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Mon Sep 16 18:03:38 2019 +0200
Fix linux x86 build
Change-Id: I308752f8e4fd6ac58a417a41545e70171d5370a3
Reviewed-on: https://gerrit.libreoffice.org/79019
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index 624cc6154f97..16897ef51798 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -4040,8 +4040,8 @@ void GtkSalFrame::IMHandler::signalIMPreeditChanged( GtkIMContext*, gpointer im_
sal_Int32 nUtf32End = g_utf8_pointer_to_offset(pText, pText + nUtf8End);
// sanitize the utf32 range
- nUtf32Start = std::min(nUtf32Start, nUtf32Len);
- nUtf32End = std::min(nUtf32End, nUtf32Len);
+ nUtf32Start = std::min(nUtf32Start, sal_Int32(nUtf32Len));
+ nUtf32End = std::min(nUtf32End, sal_Int32(nUtf32Len));
if (nUtf32Start >= nUtf32End)
continue;
More information about the Libreoffice-commits
mailing list