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 6416331..997a6ac 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);