include: Add back a typecast that's needed for C++.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Alexandre Julliard 2017-02-23 12:54:29 +01:00
parent 028b2bddfc
commit 70d8503d5e
1 changed files with 1 additions and 1 deletions

View File

@ -5438,7 +5438,7 @@ typedef enum _CM_ERROR_CONTROL_TYPE
static FORCEINLINE void *RtlSecureZeroMemory(void *buffer, SIZE_T length)
{
volatile char *ptr = buffer;
volatile char *ptr = (volatile char *)buffer;
while (length--) *ptr++ = 0;
return buffer;