From bf5c7d4546b791e3e00f8501c3e74173266a07b4 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sat, 5 May 2012 13:42:00 +0200 Subject: [PATCH] msvcrt: Fix malloc_func_t/free_func_t calling convention. --- dlls/msvcrt/msvcrt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msvcrt/msvcrt.h b/dlls/msvcrt/msvcrt.h index 0fd34109a9..e255a2e49a 100644 --- a/dlls/msvcrt/msvcrt.h +++ b/dlls/msvcrt/msvcrt.h @@ -245,8 +245,8 @@ int __cdecl MSVCRT__set_new_mode(int mode); void* __cdecl MSVCRT_operator_new(MSVCRT_size_t); void __cdecl MSVCRT_operator_delete(void*); -typedef void* (*__cdecl malloc_func_t)(MSVCRT_size_t); -typedef void (*__cdecl free_func_t)(void*); +typedef void* (__cdecl *malloc_func_t)(MSVCRT_size_t); +typedef void (__cdecl *free_func_t)(void*); extern char* __cdecl __unDName(char *,const char*,int,malloc_func_t,free_func_t,unsigned short int); extern char* __cdecl __unDNameEx(char *,const char*,int,malloc_func_t,free_func_t,void *,unsigned short int);