Kaydet (Commit) b435cce9 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:redundantcast

Change-Id: I6c405287266572598a86b534552ed2f7bdff7fa2
üst 44c87a5d
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment