diff options
-rw-r--r-- | font.c | 2 |
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) |