summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/source/all/xml_parser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/all/xml_parser.cxx b/shell/source/all/xml_parser.cxx
index 4821111c1da0..8948b8eb5955 100644
--- a/shell/source/all/xml_parser.cxx
+++ b/shell/source/all/xml_parser.cxx
@@ -178,7 +178,7 @@ void xml_parser::parse(const char* XmlData, size_t Length, bool IsFinal)
XML_Parse(xml_parser_, XmlData, static_cast<int>(Length), IsFinal))
{
throw xml_parser_exception(
- (char*)XML_ErrorString(XML_GetErrorCode(xml_parser_)),
+ XML_ErrorString(XML_GetErrorCode(xml_parser_)),
(int)XML_GetErrorCode(xml_parser_),
XML_GetCurrentLineNumber(xml_parser_),
XML_GetCurrentColumnNumber(xml_parser_),