From 44f8625d23f9807c0853556ffe1c44540bd453f9 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 11 Nov 2007 12:35:55 +0000 Subject: fixed invalid type git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3582 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-m68k/op_helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target-m68k') diff --git a/target-m68k/op_helper.c b/target-m68k/op_helper.c index 80ec890..547f13d 100644 --- a/target-m68k/op_helper.c +++ b/target-m68k/op_helper.c @@ -57,7 +57,7 @@ void tlb_fill (target_ulong addr, int is_write, int mmu_idx, void *retaddr) { TranslationBlock *tb; CPUState *saved_env; - target_phys_addr_t pc; + unsigned long pc; int ret; /* XXX: hack to restore env in all cases, even if not called from @@ -68,7 +68,7 @@ void tlb_fill (target_ulong addr, int is_write, int mmu_idx, void *retaddr) if (__builtin_expect(ret, 0)) { if (retaddr) { /* now we have a real cpu fault */ - pc = (target_phys_addr_t)retaddr; + pc = (unsigned long)retaddr; tb = tb_find_pc(pc); if (tb) { /* the PC is inside the translated code. It means that we have -- cgit v1.1