summaryrefslogtreecommitdiff
path: root/Source/cmXMLParser.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-07-30 21:38:50 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2007-07-30 21:38:50 -0400
commitbc2accc65eb9c0808c78cd6c38a9349525600940 (patch)
tree0ce127690454c0a9baa5e5eb94fdda997399de33 /Source/cmXMLParser.cxx
parent220fe4f3ce1d8cf1446f3f38f3ec55279bcfc3ae (diff)
downloadcmake-bc2accc65eb9c0808c78cd6c38a9349525600940.tar.gz
STYLE: fix warning
Diffstat (limited to 'Source/cmXMLParser.cxx')
-rw-r--r--Source/cmXMLParser.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmXMLParser.cxx b/Source/cmXMLParser.cxx
index e9dca1353b..7ef6d44293 100644
--- a/Source/cmXMLParser.cxx
+++ b/Source/cmXMLParser.cxx
@@ -133,7 +133,8 @@ int cmXMLParser::CleanupParser()
int cmXMLParser::ParseBuffer(const char* buffer, std::string::size_type count)
{
// Pass the buffer to the expat XML parser.
- if(!XML_Parse(static_cast<XML_Parser>(this->Parser), buffer, count, 0))
+ if(!XML_Parse(static_cast<XML_Parser>(this->Parser), buffer,
+ static_cast<int>(count), 0))
{
this->ReportXmlParseError();
return 0;