From f78afbb1638226ec7805e9e42c266af0abb69122 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sat, 18 Feb 2017 11:21:37 +0100 Subject: [PATCH] msident: Add a __WINE_ALLOC_SIZE attribute to heap_alloc(). And standardize its parameter name. Signed-off-by: Francois Gouget Signed-off-by: Alexandre Julliard --- dlls/msident/msident.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msident/msident.c b/dlls/msident/msident.c index c12c19b5102..3efb190a39c 100644 --- a/dlls/msident/msident.c +++ b/dlls/msident/msident.c @@ -27,9 +27,9 @@ WINE_DEFAULT_DEBUG_CHANNEL(msident); -static inline void *heap_alloc(size_t len) +static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t size) { - return HeapAlloc(GetProcessHeap(), 0, len); + return HeapAlloc(GetProcessHeap(), 0, size); } static inline BOOL heap_free(void *mem)