From 2931e0fa66a0fb542dd211a487e8b282ecf90b71 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 31 Mar 2015 13:14:36 +0200 Subject: Reduce to static_cast any reinterpret_cast from void pointers Change-Id: I8fc20c94ba0233a91b63ff35f91dc9c8b51a2aba --- l10ntools/source/xmlparse.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'l10ntools') diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx index 21d07687fd54..13538c175a03 100644 --- a/l10ntools/source/xmlparse.cxx +++ b/l10ntools/source/xmlparse.cxx @@ -960,7 +960,7 @@ XMLFile *SimpleXMLParser::Execute( const OString &rFileName, XMLFile* pXMLFileIn else m_aErrorInformation.m_sMessage = "XML-File parsed successfully"; - if (!XML_Parse(m_aParser, reinterpret_cast< char * >(p), s, true)) + if (!XML_Parse(m_aParser, static_cast< char * >(p), s, true)) { m_aErrorInformation.m_eCode = XML_GetErrorCode( m_aParser ); m_aErrorInformation.m_nLine = XML_GetErrorLineNumber( m_aParser ); -- cgit