mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
better cast; noticed by ray@
ok ray@ oga@
This commit is contained in:
parent
c07123ec78
commit
7e110f379b
2
font.c
2
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)
|
||||
|
Loading…
Reference in New Issue
Block a user