From 0a11c72af961b622ef4e3a5cc8d640c473d9dc3e Mon Sep 17 00:00:00 2001 From: Okan Demirmen Date: Tue, 13 Jan 2009 15:25:44 +0000 Subject: better cast; noticed by ray@ ok ray@ oga@ --- app/cwm/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/cwm/font.c b/app/cwm/font.c index df158e072..622d17b76 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((FcChar8*)name)) == NULL) + if ((pat = FcNameParse((const FcChar8*)name)) == NULL) return (NULL); if ((patx = XftFontMatch(X_Dpy, sc->which, pat, &res)) != NULL) -- cgit v1.2.3