]> git.wh0rd.org - fontconfig.git/blobdiff - fc-cat/fc-cat.c
fc-cat: fix pointer warning
[fontconfig.git] / fc-cat / fc-cat.c
index 5ee947ec24938c0d1ba5326bfe5090c32dc3b2dc..c3d68296b97249403985431bd8f07576b518f8cc 100644 (file)
@@ -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);