mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
tcg-ppc: Use uintptr_t in ppc_tb_set_jmp_target
Tested-by: Tom Musta <tommusta@gmail.com> Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
d9c1647d89
commit
9171478c95
2 changed files with 2 additions and 2 deletions
|
@ -1318,7 +1318,7 @@ static void tcg_out_brcond2 (TCGContext *s, const TCGArg *args,
|
|||
tcg_out_bc (s, (BC | BI (7, CR_EQ) | BO_COND_TRUE), args[5]);
|
||||
}
|
||||
|
||||
void ppc_tb_set_jmp_target (unsigned long jmp_addr, unsigned long addr)
|
||||
void ppc_tb_set_jmp_target (uintptr_t jmp_addr, uintptr_t addr)
|
||||
{
|
||||
uint32_t *ptr;
|
||||
long disp = addr - jmp_addr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue