diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-11 17:26:45 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-11 17:26:45 +0000 |
commit | 745cacc7b7e36aeb9bcc034f1de3d92eac1efc72 (patch) | |
tree | 0d62aa30924072cdf4d6965ca945824a24055911 /translate-all.c | |
parent | 7aaabde7d7b7f83fb88c542b77aaad158abcbddd (diff) | |
download | qemu-745cacc7b7e36aeb9bcc034f1de3d92eac1efc72.zip qemu-745cacc7b7e36aeb9bcc034f1de3d92eac1efc72.tar.gz qemu-745cacc7b7e36aeb9bcc034f1de3d92eac1efc72.tar.bz2 |
removed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3599 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'translate-all.c')
-rw-r--r-- | translate-all.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/translate-all.c b/translate-all.c index c42fedf..9f602be 100644 --- a/translate-all.c +++ b/translate-all.c @@ -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]; |