summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/source/all/xml_parser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/all/xml_parser.cxx b/shell/source/all/xml_parser.cxx
index 8948b8eb5955..3c9669aaaae6 100644
--- a/shell/source/all/xml_parser.cxx
+++ b/shell/source/all/xml_parser.cxx
@@ -56,8 +56,8 @@ namespace /* private */
inline xml_parser* get_parser_instance(void* data)
{
- return reinterpret_cast<xml_parser*>(XML_GetUserData(
- reinterpret_cast<XML_Parser>(data)));
+ return static_cast<xml_parser*>(XML_GetUserData(
+ static_cast<XML_Parser>(data)));
}
bool has_only_whitespaces(const XML_Char* s, int len)