[PATCH 01/10] [DbgHelp]: allow loading PE module with 64bit addresses

Eric Pouech eric.pouech at orange.fr
Sat Oct 9 01:50:50 CDT 2010




A+
---

 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-patches mailing list