Eric Pouech : winedbg: Enforce 64bit modules address on 64bit platforms.

Alexandre Julliard julliard at winehq.org
Mon Dec 14 09:51:24 CST 2009


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

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Sat Dec 12 12:19:08 2009 +0100

winedbg: Enforce 64bit modules address on 64bit platforms.

---

 programs/winedbg/debugger.h |    2 +-
 programs/winedbg/types.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/winedbg/debugger.h b/programs/winedbg/debugger.h
index d0a0674..61325e3 100644
--- a/programs/winedbg/debugger.h
+++ b/programs/winedbg/debugger.h
@@ -94,7 +94,7 @@ enum dbg_internal_types
 struct dbg_type
 {
     unsigned long       id;
-    DWORD               module;
+    DWORD_PTR           module;
 };
 
 struct dbg_lvalue       /* structure to hold left-values... */
diff --git a/programs/winedbg/types.c b/programs/winedbg/types.c
index 50695aa..68bf12b 100644
--- a/programs/winedbg/types.c
+++ b/programs/winedbg/types.c
@@ -561,7 +561,7 @@ static BOOL CALLBACK print_types_cb(PSYMBOL_INFO sym, ULONG size, void* ctx)
     struct dbg_type     type;
     type.module = sym->ModBase;
     type.id = sym->TypeIndex;
-    dbg_printf("Mod: %08x ID: %08lx\n", type.module, type.id);
+    dbg_printf("Mod: %08lx ID: %08lx\n", type.module, type.id);
     types_print_type(&type, TRUE);
     dbg_printf("\n");
     return TRUE;




More information about the wine-cvs mailing list