Bug 103 -- FcObjectSetBuild must be terminated by (char *) 0 as varargs are

untyped
This commit is contained in:
Keith Packard 2003-08-12 02:06:20 +00:00
parent 116e13b443
commit 18906a876a
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ main (int argc, char **argv)
pat = FcPatternCreate ();
if (!os)
os = FcObjectSetBuild (FC_FAMILY, FC_STYLE, 0);
os = FcObjectSetBuild (FC_FAMILY, FC_STYLE, (char *) 0);
fs = FcFontList (0, pat, os);
if (pat)
FcPatternDestroy (pat);