Fix icc warnings: using wrong enum type

This commit is contained in:
Neal Norwitz 2006-01-07 21:21:16 +00:00
parent f0459142d5
commit 52ca0dd712
1 changed files with 2 additions and 2 deletions

View 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;