From 4e941a9289d755df05aafd51e4e031fb1788a667 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Mon, 5 Oct 2015 00:03:54 +0200 Subject: [PATCH] msvcrt: Pass cookie reference to msvcrt_local_unwind4 instead of value. Signed-off-by: Sebastian Lackner --- dlls/msvcrt/except_i386.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msvcrt/except_i386.c b/dlls/msvcrt/except_i386.c index 6cbb7583479..1625854ee9e 100644 --- a/dlls/msvcrt/except_i386.c +++ b/dlls/msvcrt/except_i386.c @@ -1127,7 +1127,7 @@ void __stdcall _seh_longjmp_unwind(struct MSVCRT___JUMP_BUFFER *jmp) */ void __stdcall _seh_longjmp_unwind4(struct MSVCRT___JUMP_BUFFER *jmp) { - msvcrt_local_unwind4( (void *)jmp->Cookie, (MSVCRT_EXCEPTION_FRAME *)jmp->Registration, + msvcrt_local_unwind4( (ULONG *)&jmp->Cookie, (MSVCRT_EXCEPTION_FRAME *)jmp->Registration, jmp->TryLevel, (void *)jmp->Ebp ); }