Commit bc2accc6 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

STYLE: fix warning

parent 220fe4f3
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment