diff options
author | okan | 2009-01-11 18:32:08 +0000 |
---|---|---|
committer | okan | 2009-01-11 18:32:08 +0000 |
commit | 86647d3a5625ccd784cf46d4e4f14abaf0599af5 (patch) | |
tree | 654e5f68419c8ef7bd3e1c0950afd504dd995fd3 /font.c | |
parent | 790cf25c28a9b909e8398eefb5ffe6a8039a2daf (diff) | |
download | cwm-86647d3a5625ccd784cf46d4e4f14abaf0599af5.tar.gz |
FcNameParse() manpage lies, cast here.
found with pcc.
ok oga@
Diffstat (limited to '')
-rw-r--r-- | font.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ font_make(struct screen_ctx *sc, const char *name) FcPattern *pat, *patx; XftResult res; - if ((pat = FcNameParse(name)) == NULL) + if ((pat = FcNameParse((FcChar8*)name)) == NULL) return (NULL); if ((patx = XftFontMatch(X_Dpy, sc->which, pat, &res)) != NULL) |