Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 52ca0dd

Browse files
committed
Fix icc warnings: using wrong enum type
1 parent f045914 commit 52ca0dd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/expat/xmlparse.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,7 +1539,7 @@ enum XML_Status XMLCALL
15391539
XML_ParseBuffer(XML_Parser parser, int len, int isFinal)
15401540
{
15411541
const char *start;
1542-
enum XML_Error result = XML_STATUS_OK;
1542+
enum XML_Status result = XML_STATUS_OK;
15431543

15441544
switch (parsing) {
15451545
case XML_SUSPENDED:
@@ -1698,7 +1698,7 @@ XML_StopParser(XML_Parser parser, XML_Bool resumable)
16981698
enum XML_Status XMLCALL
16991699
XML_ResumeParser(XML_Parser parser)
17001700
{
1701-
enum XML_Error result = XML_STATUS_OK;
1701+
enum XML_Status result = XML_STATUS_OK;
17021702

17031703
if (parsing != XML_SUSPENDED) {
17041704
errorCode = XML_ERROR_NOT_SUSPENDED;

0 commit comments

Comments
 (0)