[Expat-checkins] expat/lib xmlparse.c,1.79,1.80

Fred L. Drake fdrake@users.sourceforge.net
Tue, 27 Aug 2002 15:58:27 -0700


Update of /cvsroot/expat/expat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv23221

Modified Files:
	xmlparse.c 
Log Message:
Make the arg to XML_ErrorString() an XML_Error value.  Compatible
since enums are binary compatible with ints.


Index: xmlparse.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlparse.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- xmlparse.c	27 Aug 2002 21:55:19 -0000	1.79
+++ xmlparse.c	27 Aug 2002 22:58:25 -0000	1.80
@@ -1536,7 +1536,7 @@
 }
 
 const XML_LChar *
-XML_ErrorString(int code)
+XML_ErrorString(enum XML_Error code)
 {
   static const XML_LChar *message[] = {
     0,