]> git.proxmox.com Git - qemu.git/blobdiff - cpu-exec.c
tcg: Change tcg_qemu_tb_exec return to uintptr_t
[qemu.git] / cpu-exec.c
index 301be28bf74015ee24d9c1d923d89e561b3112a1..14af2edab6318d5614b7ad9ae408dc5b3c034fba 100644 (file)
@@ -53,7 +53,7 @@ void cpu_resume_from_signal(CPUArchState *env, void *puc)
 static inline tcg_target_ulong cpu_tb_exec(CPUState *cpu, uint8_t *tb_ptr)
 {
     CPUArchState *env = cpu->env_ptr;
-    tcg_target_ulong next_tb = tcg_qemu_tb_exec(env, tb_ptr);
+    uintptr_t next_tb = tcg_qemu_tb_exec(env, tb_ptr);
     if ((next_tb & TB_EXIT_MASK) > TB_EXIT_IDX1) {
         /* We didn't start executing this TB (eg because the instruction
          * counter hit zero); we must restore the guest PC to the address