mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
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:
parent
ca65c42827
commit
b477756bf1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user