Sebastian Lackner : msvcrt: Pass cookie reference to msvcrt_local_unwind4 instead of value.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 5 10:30:26 CDT 2015


Module: wine
Branch: master
Commit: 4e941a9289d755df05aafd51e4e031fb1788a667
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4e941a9289d755df05aafd51e4e031fb1788a667

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Mon Oct  5 00:03:54 2015 +0200

msvcrt: Pass cookie reference to msvcrt_local_unwind4 instead of value.

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>

---

 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 6cbb758..1625854 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 );
 }
 




More information about the wine-cvs mailing list