[Python-checkins] r41948 - python/trunk/Modules/expat/xmlparse.c
neal.norwitz
python-checkins at python.org
Sat Jan 7 22:21:20 CET 2006
Author: neal.norwitz
Date: Sat Jan 7 22:21:16 2006
New Revision: 41948
Modified:
python/trunk/Modules/expat/xmlparse.c
Log:
Fix icc warnings: using wrong enum type
Modified: python/trunk/Modules/expat/xmlparse.c
==============================================================================
--- python/trunk/Modules/expat/xmlparse.c (original)
+++ python/trunk/Modules/expat/xmlparse.c Sat Jan 7 22:21:16 2006
@@ -1539,7 +1539,7 @@
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 @@
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;
More information about the Python-checkins
mailing list