From 1140d4c950712c4b14b9fcd04905942dc97a02b1 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 31 Mar 2015 13:16:31 +0200 Subject: Reduce to static_cast any reinterpret_cast from void pointers Change-Id: I443d86e9805dd994006d8bde6dabd72e14a2cff5 --- shell/source/all/xml_parser.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell/source/all') 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_GetUserData( - reinterpret_cast(data))); + return static_cast(XML_GetUserData( + static_cast(data))); } bool has_only_whitespaces(const XML_Char* s, int len) -- cgit