summaryrefslogtreecommitdiffstats
path: root/Source/cmXMLParser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmXMLParser.cxx')
-rw-r--r--Source/cmXMLParser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmXMLParser.cxx b/Source/cmXMLParser.cxx
index bc3ed6c..58f3656 100644
--- a/Source/cmXMLParser.cxx
+++ b/Source/cmXMLParser.cxx
@@ -38,8 +38,8 @@ cmXMLParser::~cmXMLParser()
//----------------------------------------------------------------------------
int cmXMLParser::Parse(const char* string)
{
- return this->InitializeParser() &&
- this->ParseChunk(string, strlen(string)) &&
+ return (int)this->InitializeParser() &&
+ this->ParseChunk(string, (unsigned int)strlen(string)) &&
this->CleanupParser();
}