[Bug 1885247] Re: Build error in Intel 32-bit hosts

2021-05-06 Thread Thomas Huth
Fix had been included here: https://gitlab.com/qemu-project/qemu/-/commit/8b39aa90e90 ... thus closing this ticket now. ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

[Bug 1885247] Re: Build error in Intel 32-bit hosts

2020-06-26 Thread Peter Maydell
I suspect an extra uintptr_t cast will fix this: p = (void *)(uintptr_t)(((uintptr_t)iter->map & TARGET_PAGE_MASK) | off_in_page); Which looks kind of ugly but then the code is taking a host void* (iter->map), casting it to integer to do arithmetic on and then wanting to get it back to a void*