mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[DBGHELP] Fix 64 bit issue
This commit is contained in:
parent
f9a967b2ae
commit
c2e16abc91
2 changed files with 8 additions and 0 deletions
|
@ -151,7 +151,11 @@ struct location
|
|||
{
|
||||
unsigned kind : 8,
|
||||
reg;
|
||||
#ifndef __REACTOS__
|
||||
unsigned long offset;
|
||||
#else
|
||||
uintptr_t offset;
|
||||
#endif
|
||||
};
|
||||
|
||||
struct symt
|
||||
|
|
|
@ -948,7 +948,11 @@ static BOOL dwarf2_compute_location_attr(dwarf2_parse_context_t* ctx,
|
|||
sizeof(unsigned) + xloc.u.block.size);
|
||||
*ptr = xloc.u.block.size;
|
||||
memcpy(ptr + 1, xloc.u.block.ptr, xloc.u.block.size);
|
||||
#ifndef __REACTOS__
|
||||
loc->offset = (unsigned long)ptr;
|
||||
#else
|
||||
loc->offset = (uintptr_t)ptr;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue