(mfont__ft_parse_name): Cast the arg to FcNameParse.
authorhanda <handa>
Mon, 21 Jun 2004 11:02:08 +0000 (11:02 +0000)
committerhanda <handa>
Mon, 21 Jun 2004 11:02:08 +0000 (11:02 +0000)
src/font-ft.c

index 6c4acca..c10ae63 100644 (file)
@@ -821,7 +821,7 @@ mfont__ft_fini ()
 int
 mfont__ft_parse_name (char *name, MFont *font)
 {
-  FcPattern *pat = FcNameParse (name);
+  FcPattern *pat = FcNameParse ((FcChar8 *) name);
   FcResult result;
   FcChar8 *str;
   double size;