From: Torsten Dreyer Date: Mon, 26 Dec 2011 10:40:57 +0000 (+0100) Subject: Revert changes to xmlparse.[ch] X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3d44f1c825f9d47aa51233a6dac86295ac2e7b6b;p=simgear.git Revert changes to xmlparse.[ch] These files are copies from libexpat and should not be touched. Thanks to Mathias for pointing this one out. --- diff --git a/simgear/xml/xmlparse.c b/simgear/xml/xmlparse.c index c40dce07..294b73b4 100644 --- a/simgear/xml/xmlparse.c +++ b/simgear/xml/xmlparse.c @@ -911,7 +911,7 @@ void XML_DefaultCurrent(XML_Parser parser) } } -const XML_LChar *XML_ErrorString(size_t code) +const XML_LChar *XML_ErrorString(int code) { static const XML_LChar *message[] = { 0, diff --git a/simgear/xml/xmlparse.h b/simgear/xml/xmlparse.h index 123afdf9..f2f9c9be 100644 --- a/simgear/xml/xmlparse.h +++ b/simgear/xml/xmlparse.h @@ -473,7 +473,7 @@ void XMLPARSEAPI XML_ParserFree(XML_Parser parser); /* Returns a string describing the error. */ -const XML_LChar XMLPARSEAPI *XML_ErrorString(size_t code); +const XML_LChar XMLPARSEAPI *XML_ErrorString(int code); #ifdef __cplusplus }