From 74bd4513635edb8fd1a9aff74a38725d2e2b0543 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Fri, 4 Apr 2014 19:56:20 +0200 Subject: [PATCH] 11-Dynamic_Unwind: Explicitly declare unwind table callback as CDECL. --- ...002-ntdll-Implement-dynamic-unwind-table-functions.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/11-Dynamic_Unwind/0002-ntdll-Implement-dynamic-unwind-table-functions.patch b/patches/11-Dynamic_Unwind/0002-ntdll-Implement-dynamic-unwind-table-functions.patch index e33956fd..2a92880f 100644 --- a/patches/11-Dynamic_Unwind/0002-ntdll-Implement-dynamic-unwind-table-functions.patch +++ b/patches/11-Dynamic_Unwind/0002-ntdll-Implement-dynamic-unwind-table-functions.patch @@ -1,4 +1,4 @@ -From c9b382af632550740ec72f57a178c16f246d0ca5 Mon Sep 17 00:00:00 2001 +From 8e29d9d7826cb1e5749909e4fe388af8dcf4a2f3 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Fri, 4 Apr 2014 19:32:33 +0200 Subject: ntdll: Implement dynamic unwind table functions. @@ -21,7 +21,7 @@ index 0dd75a2..7a3c3f1 100644 @ stdcall RtlIntegerToChar(long long long ptr) @ stdcall RtlIntegerToUnicodeString(long long ptr) diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c -index 57afe16..5ace5a9 100644 +index 57afe16..47bdf54 100644 --- a/dlls/ntdll/signal_x86_64.c +++ b/dlls/ntdll/signal_x86_64.c @@ -56,6 +56,7 @@ @@ -50,7 +50,7 @@ index 57afe16..5ace5a9 100644 + RUNTIME_FUNCTION *table; + DWORD table_size; + -+ PRUNTIME_FUNCTION (*callback)( DWORD pc, PVOID context ); ++ PRUNTIME_FUNCTION (CDECL *callback)( DWORD pc, PVOID context ); + PVOID context; +}; +