Alexandre Julliard : include: Add back a typecast that's needed for C++.
Alexandre Julliard
julliard at winehq.org
Thu Feb 23 16:27:50 CST 2017
Module: wine
Branch: master
Commit: 70d8503d5ec602be0dd9f5e390f703402bdd5edc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=70d8503d5ec602be0dd9f5e390f703402bdd5edc
Author: Alexandre Julliard <julliard at 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 at 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;
More information about the wine-cvs
mailing list