aboutsummaryrefslogtreecommitdiffstats
path: root/font.c
diff options
context:
space:
mode:
authorokan2009-01-13 15:25:43 +0000
committerokan2009-01-13 15:25:43 +0000
commit8e6d310a315d869ce38842e29b3044521303d870 (patch)
treeb47e764a1e8704ec3955ff8746b842ef6c8198de /font.c
parent74a00dd45aa510b6e46d0799ae03ef047accc935 (diff)
downloadcwm-8e6d310a315d869ce38842e29b3044521303d870.tar.gz
better cast; noticed by ray@
ok ray@ oga@
Diffstat (limited to '')
-rw-r--r--font.c2
1 files changed, 1 insertions, 1 deletions
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)