summaryrefslogtreecommitdiffstats
path: root/Source/cmXMLParser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmXMLParser.cxx')
-rw-r--r--Source/cmXMLParser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmXMLParser.cxx b/Source/cmXMLParser.cxx
index 0f68cb6..db9a27c 100644
--- a/Source/cmXMLParser.cxx
+++ b/Source/cmXMLParser.cxx
@@ -228,7 +228,7 @@ void cmXMLParserCharacterDataHandler(void* parser, const char* data,
//----------------------------------------------------------------------------
void cmXMLParser::ReportXmlParseError()
{
- XML_Parser* parser = static_cast<XML_Parser*>(this->Parser);
+ XML_Parser parser = static_cast<XML_Parser>(this->Parser);
this->ReportError(XML_GetCurrentLineNumber(parser),
XML_GetCurrentColumnNumber(parser),
XML_ErrorString(XML_GetErrorCode(parser)));