removed warning

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3599 c046a42c-6fe2-441c-8c8c-71466251a162
master
bellard 2007-11-11 17:26:45 +00:00
parent 7aaabde7d7
commit 745cacc7b7
1 changed files with 1 additions and 1 deletions

View File

@ -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];