From 375d158da75660535ff90e36a62e468d00c6463d Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Sat, 20 Mar 2010 09:48:07 +0100 Subject: [PATCH] dbghelp: Fix local/parameters enumeration on 64bit platforms. --- dlls/dbghelp/symbol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dbghelp/symbol.c b/dlls/dbghelp/symbol.c index fa9459e451b..e53b5839644 100644 --- a/dlls/dbghelp/symbol.c +++ b/dlls/dbghelp/symbol.c @@ -1016,7 +1016,7 @@ static BOOL symt_enum_locals(struct process* pcs, const char* mask, { struct module_pair pair; struct symt_ht* sym; - DWORD pc = pcs->ctx_frame.InstructionOffset; + DWORD_PTR pc = pcs->ctx_frame.InstructionOffset; se->sym_info->SizeOfStruct = sizeof(*se->sym_info); se->sym_info->MaxNameLen = sizeof(se->buffer) - sizeof(SYMBOL_INFO);