2011-03-19 Paul Eggert <eggert@cs.ucla.edu>
+ * ftfont.c (ftfont_resolve_generic_family): Fix pointer signedness.
+
* xfont.c (xfont_list_family): Mark var as initialized.
* xml.c (make_dom): Now static.
if (FcPatternGetLangSet (pattern, FC_LANG, 0, &langset) != FcResultMatch)
{
/* This is to avoid the effect of locale. */
+ static const FcChar8 lang[] = "en";
langset = FcLangSetCreate ();
- FcLangSetAdd (langset, "en");
+ FcLangSetAdd (langset, lang);
FcPatternAddLangSet (pattern, FC_LANG, langset);
FcLangSetDestroy (langset);
}