diff --git a/programs/winedbg/debugger.h b/programs/winedbg/debugger.h index d0a06748b61..61325e37c3f 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 50695aaf984..68bf12b72c9 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;