diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c index f8a6aa539af..9a558b4adbe 100644 --- a/dlls/usp10/usp10.c +++ b/dlls/usp10/usp10.c @@ -710,17 +710,17 @@ typedef struct { WORD target; } FindGlyph_struct; -static inline void *heap_alloc(SIZE_T size) +static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t size) { return HeapAlloc(GetProcessHeap(), 0, size); } -static inline void *heap_alloc_zero(SIZE_T size) +static inline void* __WINE_ALLOC_SIZE(1) heap_alloc_zero(size_t size) { return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size); } -static inline BOOL heap_free(LPVOID mem) +static inline BOOL heap_free(void *mem) { return HeapFree(GetProcessHeap(), 0, mem); }