From 18906a876aa13550b1a10550ceeef6df0c4473ec Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 12 Aug 2003 02:06:20 +0000 Subject: [PATCH] Bug 103 -- FcObjectSetBuild must be terminated by (char *) 0 as varargs are untyped --- fc-list/fc-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5