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

New commits:
commit 6a902de6db0537df0b7e13df062dc89006f98581
Author: Caolán McNamara <caol...@redhat.com>
Date:   Fri Oct 20 09:24:00 2017 +0100

    ofz+ubsan: left shift of negative value
    
    Change-Id: I304532162fc75b69807d5e45227368ab25736b93
    Reviewed-on: https://gerrit.libreoffice.org/43586
    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 c4c54ad0dffe..424fd31eb21f 100644
--- a/vcl/unx/generic/glyphs/glyphcache.cxx
+++ b/vcl/unx/generic/glyphs/glyphcache.cxx
@@ -77,7 +77,7 @@ inline
 size_t GlyphCache::IFSD_Hash::operator()( const FontSelectPattern& 
rFontSelData ) const
 {
     // TODO: is it worth to improve this hash function?
-    sal_IntPtr nFontId = reinterpret_cast<sal_IntPtr>( rFontSelData.mpFontData 
);
+    sal_uIntPtr nFontId = 
reinterpret_cast<sal_uIntPtr>(rFontSelData.mpFontData);
 
     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