summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-26 15:31:04 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-26 15:33:36 +0100
commitb54922052210f92ede0483a6311b97a75cf1cdcc (patch)
tree2e21ae70a5892b9c583c4ffc74da7467b9a1e544 /shell
parentconst_cast: convert some C-style casts and remove some redundant ones (diff)
downloadcore-b54922052210f92ede0483a6311b97a75cf1cdcc.tar.gz
core-b54922052210f92ede0483a6311b97a75cf1cdcc.zip
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: I84b3843b32bbec6dfe5a9c627927b04122d50abd
Diffstat (limited to 'shell')
-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_),