[PATCH] the function called is cdecl, not WINAPI
Marcus Meissner
marcus at jet.franken.de
Mon Aug 27 13:30:50 CDT 2007
Hi,
The compiler actually has warnings for the assignments of the pointers
below.
Ciao, Marcus
---
dlls/wintrust/register.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wintrust/register.c b/dlls/wintrust/register.c
index 517359f..572ed62 100644
--- a/dlls/wintrust/register.c
+++ b/dlls/wintrust/register.c
@@ -812,12 +812,12 @@ error_close_key:
return Func;
}
-static void * WINAPI WINTRUST_Alloc(DWORD cb)
+static void * WINTRUST_Alloc(DWORD cb)
{
return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, cb);
}
-static void WINAPI WINTRUST_Free(void *p)
+static void WINTRUST_Free(void *p)
{
HeapFree(GetProcessHeap(), 0, p);
}
--
1.4.3.4
More information about the wine-patches
mailing list