Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
3f00d3cb
Commit
3f00d3cb
authored
Jul 26, 2007
by
Bill Hoffman
Browse files
ENH: fix warning on win64
parent
d0561a3d
Changes
2
Show whitespace changes
Inline
Side-by-side
Source/cmXMLParser.cxx
View file @
3f00d3cb
...
@@ -130,7 +130,7 @@ int cmXMLParser::CleanupParser()
...
@@ -130,7 +130,7 @@ int cmXMLParser::CleanupParser()
}
}
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
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.
// 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
,
count
,
0
))
...
...
Source/cmXMLParser.h
View file @
3f00d3cb
...
@@ -52,7 +52,8 @@ public:
...
@@ -52,7 +52,8 @@ public:
* them.
* them.
*/
*/
virtual
int
InitializeParser
();
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
();
virtual
int
CleanupParser
();
protected:
protected:
...
@@ -95,7 +96,8 @@ protected:
...
@@ -95,7 +96,8 @@ protected:
static
int
IsSpace
(
char
c
);
static
int
IsSpace
(
char
c
);
//! Send the given buffer to the XML parser.
//! 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.
//! Send the given c-style string to the XML parser.
int
ParseBuffer
(
const
char
*
buffer
);
int
ParseBuffer
(
const
char
*
buffer
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment