[cmake-commits] hoffman committed cmXMLParser.cxx 1.6 1.7
cmXMLParser.h 1.3 1.4
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Jul 26 14:36:08 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv21767
Modified Files:
cmXMLParser.cxx cmXMLParser.h
Log Message:
ENH: fix warning on win64
Index: cmXMLParser.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmXMLParser.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cmXMLParser.cxx 25 Jul 2007 13:22:19 -0000 1.6
+++ cmXMLParser.cxx 26 Jul 2007 18:36:06 -0000 1.7
@@ -130,7 +130,7 @@
}
//----------------------------------------------------------------------------
-int cmXMLParser::ParseBuffer(const char* buffer, unsigned int count)
+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))
Index: cmXMLParser.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmXMLParser.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cmXMLParser.h 25 Jul 2007 13:22:19 -0000 1.3
+++ cmXMLParser.h 26 Jul 2007 18:36:06 -0000 1.4
@@ -52,7 +52,8 @@
* them.
*/
virtual int InitializeParser();
- virtual int ParseChunk(const char* inputString, std::string::size_type length);
+ virtual int ParseChunk(const char* inputString,
+ std::string::size_type length);
virtual int CleanupParser();
protected:
@@ -95,7 +96,8 @@
static int IsSpace(char c);
//! Send the given buffer to the XML parser.
- virtual int ParseBuffer(const char* buffer, unsigned int count);
+ virtual int ParseBuffer(const char* buffer,
+ std::string::size_type length);
//! Send the given c-style string to the XML parser.
int ParseBuffer(const char* buffer);
More information about the Cmake-commits
mailing list