Commit 18906a87 authored by Keith Packard's avatar Keith Packard

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

    untyped
parent 116e13b4
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment