summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2009-01-13 15:25:44 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2009-01-13 15:25:44 +0000
commit0a11c72af961b622ef4e3a5cc8d640c473d9dc3e (patch)
treea380a88167ccc09569f393edf36f914cdb8384e5
parent047a5a77e3f42fb88aa89e9e20196ca3cd946c52 (diff)
better cast; noticed by ray@
ok ray@ oga@
-rw-r--r--app/cwm/font.c2
1 files changed, 1 insertions, 1 deletions
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)