From: Keith Packard Date: Tue, 12 Aug 2003 02:06:20 +0000 (+0000) Subject: Bug 103 -- FcObjectSetBuild must be terminated by (char *) 0 as varargs are X-Git-Tag: fc-2_2_91~8 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=18906a876aa13550b1a10550ceeef6df0c4473ec;p=fontconfig.git Bug 103 -- FcObjectSetBuild must be terminated by (char *) 0 as varargs are untyped --- diff --git a/fc-list/fc-list.c b/fc-list/fc-list.c index 6416331..997a6ac 100644 --- a/fc-list/fc-list.c +++ b/fc-list/fc-list.c @@ -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);