Module: wine Branch: master Commit: 70d8503d5ec602be0dd9f5e390f703402bdd5edc URL: http://source.winehq.org/git/wine.git/?a=commit;h=70d8503d5ec602be0dd9f5e390...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Feb 23 12:54:29 2017 +0100
include: Add back a typecast that's needed for C++.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
include/winnt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/winnt.h b/include/winnt.h index de7622f..450499c 100644 --- a/include/winnt.h +++ b/include/winnt.h @@ -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;