]> git.wh0rd.org Git - fontconfig.git/commitdiff
Bug 103 -- FcObjectSetBuild must be terminated by (char *) 0 as varargs are
authorKeith Packard <keithp@keithp.com>
Tue, 12 Aug 2003 02:06:20 +0000 (02:06 +0000)
committerKeith Packard <keithp@keithp.com>
Tue, 12 Aug 2003 02:06:20 +0000 (02:06 +0000)
    untyped

fc-list/fc-list.c

index 64163311bc94de383527c5f3f8a132c5fb683151..997a6acceb0a97b31db068fa42e3edcf7606023a 100644 (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);