Kaydet (Commit) 1140d4c9 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Reduce to static_cast any reinterpret_cast from void pointers

Change-Id: I443d86e9805dd994006d8bde6dabd72e14a2cff5
üst 749e5cdf
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment