Bug 103 -- FcObjectSetBuild must be terminated by (char *) 0 as varargs are
untyped
This commit is contained in:
parent
116e13b443
commit
18906a876a
|
@ -135,7 +135,7 @@ main (int argc, char **argv)
|
||||||
pat = FcPatternCreate ();
|
pat = FcPatternCreate ();
|
||||||
|
|
||||||
if (!os)
|
if (!os)
|
||||||
os = FcObjectSetBuild (FC_FAMILY, FC_STYLE, 0);
|
os = FcObjectSetBuild (FC_FAMILY, FC_STYLE, (char *) 0);
|
||||||
fs = FcFontList (0, pat, os);
|
fs = FcFontList (0, pat, os);
|
||||||
if (pat)
|
if (pat)
|
||||||
FcPatternDestroy (pat);
|
FcPatternDestroy (pat);
|
||||||
|
|
Loading…
Reference in New Issue