diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-05-08 16:07:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-08 21:48:44 +0200 |
commit | b2ae1fddfa4c7ac81cd9c2e84079881a0544b9cc (patch) | |
tree | 21c7e9bec4b5e22d4ae3b8124c27e235aa0db345 /vcl/unx | |
parent | 97135b15448f498bf5c9a1ec40886306be2f2925 (diff) |
ofz#8185 Undefined-shift
Change-Id: I818ee989774da1499b1e6ac92b47bd09aedec754
Reviewed-on: https://gerrit.libreoffice.org/53992
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/glyphs/glyphcache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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) |