rpcrt4: Fix the ALIGN_POINTER_CLEAR macro.
This commit is contained in:
parent
37c8d8ecac
commit
50cab7736a
|
@ -102,7 +102,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
|
|||
#define ALIGN_POINTER(_Ptr, _Align) _Ptr = ALIGNED_POINTER(_Ptr, _Align)
|
||||
#define ALIGN_POINTER_CLEAR(_Ptr, _Align) \
|
||||
do { \
|
||||
memset((_Ptr), 0, (ULONG_PTR)(_Ptr) & ((_Align) - 1)); \
|
||||
memset((_Ptr), 0, ((_Align) - (ULONG_PTR)(_Ptr)) & ((_Align) - 1)); \
|
||||
ALIGN_POINTER(_Ptr, _Align); \
|
||||
} while(0)
|
||||
|
||||
|
|
Loading…
Reference in New Issue