mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 14:08:15 +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
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@
|
||||||
|
|
||||||
static void clear_tail(void *vd, uintptr_t opr_sz, uintptr_t max_sz)
|
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;
|
uintptr_t i;
|
||||||
|
|
||||||
for (i = opr_sz; i < max_sz; i += 8) {
|
for (i = opr_sz; i < max_sz; i += 8) {
|
||||||
|
|
Loading…
Reference in a new issue