summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2003-08-12 02:06:20 +0000
committerKeith Packard <keithp@keithp.com>2003-08-12 02:06:20 +0000
commit18906a876aa13550b1a10550ceeef6df0c4473ec (patch)
treeaaf56c2308521a77c47773f197962e2a5746c49b
parent116e13b4431b051b8196db201c22cd67b30922e9 (diff)
Bug 103 -- FcObjectSetBuild must be terminated by (char *) 0 as varargs are
untyped
-rw-r--r--fc-list/fc-list.c2
1 files changed, 1 insertions, 1 deletions
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);