vcl/unx/generic/glyphs/glyphcache.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b2ae1fddfa4c7ac81cd9c2e84079881a0544b9cc
Author: Caolán McNamara <caol...@redhat.com>
Date:   Tue May 8 16:07:15 2018 +0100

    ofz#8185 Undefined-shift
    
    Change-Id: I818ee989774da1499b1e6ac92b47bd09aedec754
    Reviewed-on: https://gerrit.libreoffice.org/53992
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/vcl/unx/generic/glyphs/glyphcache.cxx 
b/vcl/unx/generic/glyphs/glyphcache.cxx
index 218161c65be2..ac2eaf5498e3 100644
--- a/vcl/unx/generic/glyphs/glyphcache.cxx
+++ b/vcl/unx/generic/glyphs/glyphcache.cxx
@@ -82,7 +82,7 @@ inline
 size_t GlyphCache::IFSD_Hash::operator()( const FontSelectPattern& 
rFontSelData ) const
 {
     // TODO: is it worth to improve this hash function?
-    sal_IntPtr nFontId = GetFontId(rFontSelData);
+    sal_uIntPtr nFontId = GetFontId(rFontSelData);
 
     if 
(rFontSelData.maTargetName.indexOf(FontSelectPatternAttributes::FEAT_PREFIX)
         != -1)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to