From f6f415a6690baf5420bd2561353199d5dc1209a8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 21 Jul 2015 09:11:23 +0200 Subject: loplugin:cstylecast Change-Id: If877cd61000fe6b82083a9fff79c25364d49e721 --- sal/rtl/random.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sal') 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(Buffer), Bytes)) { if(!pImpl->m_hDigest) { -- cgit v1.2.3