Fixed unaligned memory access in spcomp (r=dvander).
This commit is contained in:
parent
157a286d1b
commit
68ab7e2e3e
@ -428,7 +428,7 @@ int main(int argc, char *argv[])
|
||||
/* get entry info */
|
||||
sym = (AMX_DBG_SYMBOL *)dbgptr;
|
||||
/* store */
|
||||
dbgsym.addr = *(int32_t *)&sym->address;
|
||||
dbgsym.addr = (int32_t)sym->address;
|
||||
dbgsym.tagid = sym->tag;
|
||||
dbgsym.codestart = (uint32_t)sym->codestart;
|
||||
dbgsym.codeend = (uint32_t)sym->codeend;
|
||||
|
Loading…
Reference in New Issue
Block a user