aboutsummaryrefslogtreecommitdiff
path: root/fontconfig/fc-cat/fc-cat.c
diff options
context:
space:
mode:
Diffstat (limited to 'fontconfig/fc-cat/fc-cat.c')
-rw-r--r--fontconfig/fc-cat/fc-cat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fontconfig/fc-cat/fc-cat.c b/fontconfig/fc-cat/fc-cat.c
index 5ee947ec2..c3d68296b 100644
--- a/fontconfig/fc-cat/fc-cat.c
+++ b/fontconfig/fc-cat/fc-cat.c
@@ -227,7 +227,7 @@ cache_print_set (FcFontSet *set, FcStrSet *dirs, const FcChar8 *base_name, FcBoo
FcPattern *font = set->fonts[n];
FcChar8 *s;
- s = FcPatternFormat (font, "%{=fccat}\n");
+ s = FcPatternFormat (font, (const FcChar8 *) "%{=fccat}\n");
if (s)
{
printf ("%s", s);