commit | 4cfcbc0b5c3dd5d62e086a6fac02c6df78c811da | [log] [tgz] |
---|---|---|
author | Sebastian Pipping <sebastian@pipping.org> | Sat Mar 12 02:07:50 2016 +0100 |
committer | Sebastian Pipping <sebastian@pipping.org> | Sat Mar 12 02:14:14 2016 +0100 |
tree | 24a7f1bb75839500b4e1f3010a6227dc617513cc | |
parent | e6585e01708e5bc43afcdf4c37cd339a4a6984e3 [diff] |
Address XML_Parse return type mis-match warning (issue #512) (Function XML_Parse returns enum XML_Status, not enum XML_Error.)
diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c index 97ef730..3491811 100644 --- a/expat/lib/xmlparse.c +++ b/expat/lib/xmlparse.c
@@ -1550,7 +1550,7 @@ else if (bufferPtr == bufferEnd) { const char *end; int nLeftOver; - enum XML_Error result; + enum XML_Status result; parseEndByteIndex += len; positionPtr = s; ps_finalBuffer = (XML_Bool)isFinal;