diff --git a/dll/win32/dbghelp/symbol.c b/dll/win32/dbghelp/symbol.c index f16a1e2cf8e..2265add7fc8 100644 --- a/dll/win32/dbghelp/symbol.c +++ b/dll/win32/dbghelp/symbol.c @@ -109,7 +109,7 @@ DWORD symt_ptr2index(struct module* module, const struct symt* sym) 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; return *(struct symt**)vector_at(&module->vsymt, id); #else