[PATCH 08/14] [WineDbg]: enforce 64bit modules address on 64bit platforms
Eric Pouech
eric.pouech at orange.fr
Sat Dec 12 05:19:08 CST 2009
A+
---
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-patches
mailing list