[cmake-commits] hoffman committed cmXMLParser.cxx 1.7 1.8
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Jul 30 21:38:52 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv4265
Modified Files:
cmXMLParser.cxx
Log Message:
STYLE: fix warning
Index: cmXMLParser.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmXMLParser.cxx,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- cmXMLParser.cxx 26 Jul 2007 18:36:06 -0000 1.7
+++ cmXMLParser.cxx 31 Jul 2007 01:38:50 -0000 1.8
@@ -133,7 +133,8 @@
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;
More information about the Cmake-commits
mailing list