From d9be20e8f08060a0d59b2d30fde712e5bb2214a5 Mon Sep 17 00:00:00 2001 From: "Fred L. Drake, Jr." Date: Tue, 27 Aug 2002 22:58:25 +0000 Subject: [PATCH] Make the arg to XML_ErrorString() an XML_Error value. Compatible since enums are binary compatible with ints. --- expat/lib/xmlparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c index 1d644683..2d6ac3d6 100644 --- a/expat/lib/xmlparse.c +++ b/expat/lib/xmlparse.c @@ -1536,7 +1536,7 @@ XML_DefaultCurrent(XML_Parser parser) } const XML_LChar * -XML_ErrorString(int code) +XML_ErrorString(enum XML_Error code) { static const XML_LChar *message[] = { 0,