From bc2accc65eb9c0808c78cd6c38a9349525600940 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 30 Jul 2007 21:38:50 -0400 Subject: STYLE: fix warning --- Source/cmXMLParser.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmXMLParser.cxx b/Source/cmXMLParser.cxx index e9dca13..7ef6d44 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(this->Parser), buffer, count, 0)) + if(!XML_Parse(static_cast(this->Parser), buffer, + static_cast(count), 0)) { this->ReportXmlParseError(); return 0; -- cgit v0.12