[Commit] fontconfig/fc-list fc-list.c,1.8,1.9

Keith Packard commit at keithp.com
Mon Aug 11 20:06:23 PDT 2003


Committed by: keithp

Update of /local/src/CVS/fontconfig/fc-list
In directory home.keithp.com:/tmp/cvs-serv28959

Modified Files:
	fc-list.c 
Log Message:
Bug 103 -- FcObjectSetBuild must be terminated by (char *) 0 as varargs are untyped

Index: fc-list.c
===================================================================
RCS file: /local/src/CVS/fontconfig/fc-list/fc-list.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- fc-list.c	31 May 2003 14:58:41 -0000	1.8
+++ fc-list.c	12 Aug 2003 02:06:20 -0000	1.9
@@ -135,7 +135,7 @@
 	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);




More information about the Commit mailing list