summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-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)