diff options
author | okan <okan> | 2009-01-13 15:25:43 +0000 |
---|---|---|
committer | okan <okan> | 2009-01-13 15:25:43 +0000 |
commit | 7e110f379be217bbf6a5476acb8043c1ff73a8e6 (patch) | |
tree | bc6b47708c3dde636e63ce426ee59b732eb2f2e0 /font.c | |
parent | c07123ec78c8a9ef8be1a320fd6ccc7f9b0deb51 (diff) | |
download | cwm-7e110f379be217bbf6a5476acb8043c1ff73a8e6.tar.gz cwm-7e110f379be217bbf6a5476acb8043c1ff73a8e6.tar.xz cwm-7e110f379be217bbf6a5476acb8043c1ff73a8e6.zip |
better cast; noticed by ray@
ok ray@ oga@
Diffstat (limited to 'font.c')
-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) |