Bug 824891 - Change |result| from XML_Error to XML_Status to quell some -Wenum-conversion warnings. r=jst,peterv.

--HG--
extra : rebase_source : e367d5eb46d7e101298b1517439ca6f1f723e0f3
This commit is contained in:
Nicholas Nethercote 2012-12-26 21:47:52 -08:00
parent ca65c42827
commit b477756bf1

View File

@ -1512,7 +1512,9 @@ XML_Parse(XML_Parser parser, const char *s, int len, int isFinal)
else if (bufferPtr == bufferEnd) {
const char *end;
int nLeftOver;
enum XML_Error result;
/* BEGIN MOZILLA CHANGE (|result| has type XML_Status, not XML_Error) */
enum XML_Status result;
/* END MOZILLA CHANGE */
parseEndByteIndex += len;
positionPtr = s;
ps_finalBuffer = (XML_Bool)isFinal;