mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 13:45:40 +00:00
target/arm/vec_helper: Remove use of void pointer arithmetic
This is a GNU-specific extension.
This commit is contained in:
parent
8f5693322b
commit
8eaa850287
|
@ -41,7 +41,7 @@
|
|||
|
||||
static void clear_tail(void *vd, uintptr_t opr_sz, uintptr_t max_sz)
|
||||
{
|
||||
uint64_t *d = vd + opr_sz;
|
||||
uint64_t *d = (uint64_t *)((char *)vd + opr_sz);
|
||||
uintptr_t i;
|
||||
|
||||
for (i = opr_sz; i < max_sz; i += 8) {
|
||||
|
|
Loading…
Reference in a new issue