[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara
caolanm at redhat.com
Tue May 8 19:49:05 UTC 2018
vcl/unx/generic/glyphs/glyphcache.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b2ae1fddfa4c7ac81cd9c2e84079881a0544b9cc
Author: Caolán McNamara <caolanm at 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 <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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)
More information about the Libreoffice-commits
mailing list