diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:31:04 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:33:36 +0100 |
commit | b54922052210f92ede0483a6311b97a75cf1cdcc (patch) | |
tree | 2e21ae70a5892b9c583c4ffc74da7467b9a1e544 /shell | |
parent | 98ce4ac4017ac04d7cde9c94273a558c969586b9 (diff) |
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.cxx | 2 |
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_), |