summaryrefslogtreecommitdiff
path: root/src/xftfreetype.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2022-05-30 09:21:28 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2022-06-03 15:52:56 -0400
commitf2583758d3e5c65f372387d1c67433856682c3fb (patch)
tree78f035f9aa506b6f87ef37387164939e138d1dbc /src/xftfreetype.c
parentc3ad9cf5b11772fbc9ff4dd793f0a7e897b5df5a (diff)
downloadxorg-lib-libXft-f2583758d3e5c65f372387d1c67433856682c3fb.tar.gz
quiet compiler warning with cast
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/xftfreetype.c')
-rw-r--r--src/xftfreetype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xftfreetype.c b/src/xftfreetype.c
index 4d11550..bcf9e6a 100644
--- a/src/xftfreetype.c
+++ b/src/xftfreetype.c
@@ -983,7 +983,7 @@ XftFontOpenInfo (Display *dpy,
* Unicode hash table information
*/
font->hash_table = (XftUcsHash *) (font->glyphs + font->num_glyphs);
- for (i = 0; i < hash_value; i++)
+ for (i = 0; (FcChar32) i < hash_value; i++)
{
font->hash_table[i].ucs4 = ((FcChar32) ~0);
font->hash_table[i].glyph = 0;