From 86647d3a5625ccd784cf46d4e4f14abaf0599af5 Mon Sep 17 00:00:00 2001 From: okan Date: Sun, 11 Jan 2009 18:32:08 +0000 Subject: FcNameParse() manpage lies, cast here. found with pcc. ok oga@ --- font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/font.c b/font.c index ea200e5..df158e0 100644 --- a/font.c +++ b/font.c @@ -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) -- cgit v1.2.3-2-gb3c3