aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/font.c b/font.c
index ea200e5..df158e0 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(name)) == NULL)
+ if ((pat = FcNameParse((FcChar8*)name)) == NULL)
return (NULL);
if ((patx = XftFontMatch(X_Dpy, sc->which, pat, &res)) != NULL)