Fix compilation warnings.

This commit is contained in:
Sebastian Lackner 2014-10-19 07:43:41 +02:00
parent 4410ccbead
commit 2dcb4d2c27
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
From 3bcb00b0a38488cec401dc8dca93968b03fb3144 Mon Sep 17 00:00:00 2001
From 1de55db4e9e0412f144ae9e675c4f419b0d2e3da Mon Sep 17 00:00:00 2001
From: Bernhard Reiter <ockham@raz.or.at>
Date: Wed, 9 Apr 2014 00:52:31 +0200
Subject: imagehlp: Implement parts of BindImageEx to make freezing Python
@ -11,7 +11,7 @@ Fixes http://bugs.winehq.org/show_bug.cgi?id=3591
2 files changed, 114 insertions(+), 15 deletions(-)
diff --git a/dlls/imagehlp/modify.c b/dlls/imagehlp/modify.c
index debccc0..0de1fb3 100644
index debccc0..4ac3248 100644
--- a/dlls/imagehlp/modify.c
+++ b/dlls/imagehlp/modify.c
@@ -31,9 +31,11 @@ WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
@ -117,7 +117,7 @@ index debccc0..0de1fb3 100644
+ import_desc->OriginalFirstThunk ? import_desc->OriginalFirstThunk :
+ import_desc->FirstThunk, 0)))
+ {
+ ERR("Can't grab thunk data of %s, going to next imported DLL\n");
+ ERR("Can't grab thunk data of %s, going to next imported DLL\n", dll_name);
+ continue;
+ }
+

View File

@ -1,4 +1,4 @@
From 31046c5a489a1b646b6dfb94c8156b96bb40bd2e Mon Sep 17 00:00:00 2001
From 89c0a2039200b6e273be02ee25c45b84ecd320cd Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Sat, 18 Oct 2014 04:32:27 +0200
Subject: ntdll: Add support for additional ATL thunks.
@ -53,7 +53,7 @@ index 6971144..3be2977 100644
ok( num_execute_fault_calls == 0, "expected no STATUS_ACCESS_VIOLATION exception, got %d exceptions\n", num_execute_fault_calls );
diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c
index f97799c..b2a9cb0 100644
index f97799c..13df4bb 100644
--- a/dlls/ntdll/signal_i386.c
+++ b/dlls/ntdll/signal_i386.c
@@ -1616,12 +1616,46 @@ static inline BOOL check_invalid_gs( CONTEXT *context )
@ -173,7 +173,7 @@ index f97799c..b2a9cb0 100644
+ thunk_copy.t5.inst2 == 0x0460)
+ {
+ DWORD func, stack[2];
+ if (virtual_uninterrupted_read_memory( context->Esp,
+ if (virtual_uninterrupted_read_memory( (DWORD *)context->Esp,
+ stack, sizeof(stack) ) == sizeof(stack) &&
+ virtual_uninterrupted_read_memory( (DWORD *)stack[1] + 1,
+ &func, sizeof(DWORD) ) == sizeof(DWORD) &&