Commit 8731ac030ea83e0d37cfd269a5ee8cc469096924

Authored by bellard
1 parent fa58c156

fixed cast


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3613 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
hw/omap.c
... ... @@ -833,7 +833,7 @@ static int omap_dma_ch_reg_write(struct omap_dma_s *s,
833 833 return 1;
834 834  
835 835 default:
836   - OMAP_BAD_REG((unsigned long) reg);
  836 + OMAP_BAD_REG((target_phys_addr_t) reg);
837 837 }
838 838 return 0;
839 839 }
... ...