summaryrefslogtreecommitdiff
path: root/pango/break-thai.c
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-04-07 06:44:53 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2018-04-09 15:47:26 +0200
commit5d46e21df66a11233186ddf27ca8c70149307871 (patch)
tree794d415401349b5fd1d33e6d2633f020f0ad0e81 /pango/break-thai.c
parent8e86f613160d023257d041ff24f94c88a8e12a46 (diff)
downloadpango-5d46e21df66a11233186ddf27ca8c70149307871.tar.gz
pangowin32: fix script cache hash key for 64bit builds
It joins the HFONT and script key to a gint64 and uses this as a hash key, but HFONT is a pointer type and on 64bit Windows it doesn't fit in 32bit and the value gets truncated. This breaks the build with meson where -Werror=pointer-to-int-cast is enabled by default. Instead of using the gint64 hash functions add our own key type and implement matching hash and equality functions for it. https://bugzilla.gnome.org/show_bug.cgi?id=795045
Diffstat (limited to 'pango/break-thai.c')
0 files changed, 0 insertions, 0 deletions