On Wed, Nov 14, 2018 at 16:11:35 +0000, Alex Bennée wrote: > > Emilio G. Cota <c...@braap.org> writes: (snip) > I needed to do this: > > modified tcg/tcg.c > @@ -884,7 +884,7 @@ static TCGTemp *tcg_global_reg_new_internal(TCGContext > *s, TCGType type, > > static inline uint32_t tcg_helper_func_hash(const void *func) > { > - return qemu_xxhash2((uint64_t)func); > + return qemu_xxhash2((uint64_t)(uintptr_t)func); > } > > To prevent the compiler complaining about: > > tcg.c:887:25: error: cast from pointer to integer of different size > [-Werror=pointer-to-int-cast]
Fixed, thanks. E.