From 3d44f1c825f9d47aa51233a6dac86295ac2e7b6b Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Mon, 26 Dec 2011 11:40:57 +0100 Subject: [PATCH] Revert changes to xmlparse.[ch] These files are copies from libexpat and should not be touched. Thanks to Mathias for pointing this one out. --- simgear/xml/xmlparse.c | 2 +- simgear/xml/xmlparse.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.39.5