diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2009-01-13 15:25:44 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2009-01-13 15:25:44 +0000 |
commit | 0a11c72af961b622ef4e3a5cc8d640c473d9dc3e (patch) | |
tree | a380a88167ccc09569f393edf36f914cdb8384e5 | |
parent | 047a5a77e3f42fb88aa89e9e20196ca3cd946c52 (diff) |
better cast; noticed by ray@
ok ray@ oga@
-rw-r--r-- | app/cwm/font.c | 2 |
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) |