mirror of
https://github.com/reactos/reactos.git
synced 2024-05-21 21:02:07 +00:00
[DBGHELP] Fix rsym runtime crash on ARM64 host
CORE-17518
This commit is contained in:
parent
21bd607758
commit
6c38b251cf
|
@ -109,7 +109,7 @@ DWORD symt_ptr2index(struct module* module, const struct symt* sym)
|
||||||
|
|
||||||
struct symt* symt_index2ptr(struct module* module, DWORD id)
|
struct symt* symt_index2ptr(struct module* module, DWORD id)
|
||||||
{
|
{
|
||||||
#ifdef __x86_64__
|
#if defined(__x86_64__) || defined(__arm64__)
|
||||||
if (!id-- || id >= vector_length(&module->vsymt)) return NULL;
|
if (!id-- || id >= vector_length(&module->vsymt)) return NULL;
|
||||||
return *(struct symt**)vector_at(&module->vsymt, id);
|
return *(struct symt**)vector_at(&module->vsymt, id);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue