From 8e6d310a315d869ce38842e29b3044521303d870 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 13 Jan 2009 15:25:43 +0000 Subject: better cast; noticed by ray@ ok ray@ oga@ --- font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/font.c b/font.c index df158e0..622d17b 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((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-2-gb3c3