diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:14:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:14:36 +0200 |
commit | 2931e0fa66a0fb542dd211a487e8b282ecf90b71 (patch) | |
tree | f6c87f6eead819e8224da1dd2ef02545731175c0 /l10ntools/source/xmlparse.cxx | |
parent | efb254ca039287de168cd3dabfe6578ba8ac06eb (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I8fc20c94ba0233a91b63ff35f91dc9c8b51a2aba
Diffstat (limited to 'l10ntools/source/xmlparse.cxx')
-rw-r--r-- | l10ntools/source/xmlparse.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |