dbghelp: Fix local/parameters enumeration on 64bit platforms.

This commit is contained in:
Eric Pouech 2010-03-20 09:48:07 +01:00 committed by Alexandre Julliard
parent d822aaff92
commit 375d158da7
1 changed files with 1 additions and 1 deletions

View File

@ -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);