mirror of https://gitee.com/openkylin/qemu.git
removed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3599 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
7aaabde7d7
commit
745cacc7b7
|
@ -241,7 +241,7 @@ int cpu_restore_state(TranslationBlock *tb,
|
|||
if (npc == 1) {
|
||||
/* dynamic NPC: already stored */
|
||||
} else if (npc == 2) {
|
||||
target_ulong t2 = (target_ulong)puc;
|
||||
target_ulong t2 = (target_ulong)(unsigned long)puc;
|
||||
/* jump PC: use T2 and the jump targets of the translation */
|
||||
if (t2)
|
||||
env->npc = gen_opc_jump_pc[0];
|
||||
|
|
Loading…
Reference in New Issue