From 343413a7200f581c80f225dc0b5d92370bd5e3b0 Mon Sep 17 00:00:00 2001 From: okan Date: Sun, 11 Jan 2009 18:32:08 +0000 Subject: [PATCH] FcNameParse() manpage lies, cast here. found with pcc. ok oga@ --- app/cwm/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cwm/font.c b/app/cwm/font.c index ea200e55e..df158e072 100644 --- a/app/cwm/font.c +++ b/app/cwm/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)