summaryrefslogtreecommitdiffstats
path: root/Modules/expat/xmlparse.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-01-07 21:21:16 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-01-07 21:21:16 (GMT)
commit52ca0dd71221cc3302c37048cc83b856f028dbc2 (patch)
tree8b6c1f27b45615316679e559441967051d8f97a9 /Modules/expat/xmlparse.c
parentf0459142d5ee827016d4135762d00c4d5744c6f2 (diff)
downloadcpython-52ca0dd71221cc3302c37048cc83b856f028dbc2.zip
cpython-52ca0dd71221cc3302c37048cc83b856f028dbc2.tar.gz
cpython-52ca0dd71221cc3302c37048cc83b856f028dbc2.tar.bz2
Fix icc warnings: using wrong enum type
Diffstat (limited to 'Modules/expat/xmlparse.c')
-rw-r--r--Modules/expat/xmlparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/expat/xmlparse.c b/Modules/expat/xmlparse.c
index 19a83dd..3372bc9 100644
--- a/Modules/expat/xmlparse.c
+++ b/Modules/expat/xmlparse.c
@@ -1539,7 +1539,7 @@ enum XML_Status XMLCALL
XML_ParseBuffer(XML_Parser parser, int len, int isFinal)
{
const char *start;
- enum XML_Error result = XML_STATUS_OK;
+ enum XML_Status result = XML_STATUS_OK;
switch (parsing) {
case XML_SUSPENDED:
@@ -1698,7 +1698,7 @@ XML_StopParser(XML_Parser parser, XML_Bool resumable)
enum XML_Status XMLCALL
XML_ResumeParser(XML_Parser parser)
{
- enum XML_Error result = XML_STATUS_OK;
+ enum XML_Status result = XML_STATUS_OK;
if (parsing != XML_SUSPENDED) {
errorCode = XML_ERROR_NOT_SUSPENDED;