summaryrefslogtreecommitdiff
path: root/sal/rtl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-21 09:11:23 +0200
committerNoel Grandin <noel@peralex.com>2015-07-21 09:11:23 +0200
commitf6f415a6690baf5420bd2561353199d5dc1209a8 (patch)
tree7c43d3e23382bcf90d6e0acd2c48e2bb6d1d01e2 /sal/rtl
parentf46bbb9f60a487e62f1fb028570329c0f2dff959 (diff)
loplugin:cstylecast
Change-Id: If877cd61000fe6b82083a9fff79c25364d49e721
Diffstat (limited to 'sal/rtl')
-rw-r--r--sal/rtl/random.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/random.cxx b/sal/rtl/random.cxx
index f4637131de45..48dc886b444f 100644
--- a/sal/rtl/random.cxx
+++ b/sal/rtl/random.cxx
@@ -333,7 +333,7 @@ rtlRandomError SAL_CALL rtl_random_getBytes (
if ((pImpl == NULL) || (pBuffer == NULL))
return rtl_Random_E_Argument;
- if(pImpl->m_hDigest || !osl_get_system_random_data((char*)Buffer, Bytes))
+ if(pImpl->m_hDigest || !osl_get_system_random_data(static_cast<char*>(Buffer), Bytes))
{
if(!pImpl->m_hDigest)
{