Eric Pouech : dbghelp: Allow loading PE module with 64bit addresses.

Alexandre Julliard julliard at winehq.org
Mon Oct 11 13:15:10 CDT 2010


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

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Sat Oct  9 08:50:50 2010 +0200

dbghelp: Allow loading PE module with 64bit addresses.

---

 dlls/dbghelp/dbghelp_private.h |    2 +-
 dlls/dbghelp/pe_module.c       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dbghelp/dbghelp_private.h b/dlls/dbghelp/dbghelp_private.h
index 531a740..aec5bdd 100644
--- a/dlls/dbghelp/dbghelp_private.h
+++ b/dlls/dbghelp/dbghelp_private.h
@@ -578,7 +578,7 @@ extern BOOL         path_find_symbol_file(const struct process* pcs, PCSTR full_
 extern BOOL         pe_load_nt_header(HANDLE hProc, DWORD64 base, IMAGE_NT_HEADERS* nth);
 extern struct module*
                     pe_load_native_module(struct process* pcs, const WCHAR* name,
-                                          HANDLE hFile, DWORD base, DWORD size);
+                                          HANDLE hFile, DWORD64 base, DWORD size);
 extern struct module*
                     pe_load_builtin_module(struct process* pcs, const WCHAR* name,
                                            DWORD64 base, DWORD64 size);
diff --git a/dlls/dbghelp/pe_module.c b/dlls/dbghelp/pe_module.c
index 1a41f94..2d8d16c 100644
--- a/dlls/dbghelp/pe_module.c
+++ b/dlls/dbghelp/pe_module.c
@@ -733,7 +733,7 @@ BOOL pe_load_debug_info(const struct process* pcs, struct module* module)
  *
  */
 struct module* pe_load_native_module(struct process* pcs, const WCHAR* name,
-                                     HANDLE hFile, DWORD base, DWORD size)
+                                     HANDLE hFile, DWORD64 base, DWORD size)
 {
     struct module*              module = NULL;
     BOOL                        opened = FALSE;




More information about the wine-cvs mailing list