diff options
author | okan | 2009-01-13 15:25:43 +0000 |
---|---|---|
committer | okan | 2009-01-13 15:25:43 +0000 |
commit | 8e6d310a315d869ce38842e29b3044521303d870 (patch) | |
tree | b47e764a1e8704ec3955ff8746b842ef6c8198de /font.c | |
parent | 74a00dd45aa510b6e46d0799ae03ef047accc935 (diff) | |
download | cwm-8e6d310a315d869ce38842e29b3044521303d870.tar.gz |
better cast; noticed by ray@
ok ray@ oga@
Diffstat (limited to '')
-rw-r--r-- | font.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |