sal/rtl/alloc_cache.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b435cce975f71367100da7e3f7691744bde42e12 Author: Stephan Bergmann <[email protected]> Date: Tue Mar 31 14:50:44 2015 +0200 loplugin:redundantcast Change-Id: I6c405287266572598a86b534552ed2f7bdff7fa2 diff --git a/sal/rtl/alloc_cache.cxx b/sal/rtl/alloc_cache.cxx index 578ce33..50e2961 100644 --- a/sal/rtl/alloc_cache.cxx +++ b/sal/rtl/alloc_cache.cxx @@ -1318,7 +1318,7 @@ void SAL_CALL rtl_secureZeroMemory (void *Ptr, sal_Size Bytes) SAL_THROW_EXTERN_C() { //currently glibc doesn't implement memset_s - volatile char *p = reinterpret_cast<volatile char*>(Ptr); + volatile char *p = static_cast<volatile char*>(Ptr); while (Bytes--) *p++ = 0; } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
