]> granicus.if.org Git - python/commitdiff
Fix icc warnings: using wrong enum type
authorNeal Norwitz <nnorwitz@gmail.com>
Sat, 7 Jan 2006 21:21:16 +0000 (21:21 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sat, 7 Jan 2006 21:21:16 +0000 (21:21 +0000)
Modules/expat/xmlparse.c

index 19a83ddc361e4c81417df313c45071ff3057cf48..3372bc962ee13f2d4d43635ceb07401c132d5d3e 100644 (file)
@@ -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;