aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-11 19:48:47 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-11 19:48:47 +0000
commit8731ac030ea83e0d37cfd269a5ee8cc469096924 (patch)
treeb338dccc178bf20ac1379670a155ce7e3acee3e9 /hw
parentfa58c1568bba0ad031b5c6ebe1f34d41b611c61c (diff)
fixed cast
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3613 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/omap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap.c b/hw/omap.c
index a0f0a1925e..30c0bef5e5 100644
--- a/hw/omap.c
+++ b/hw/omap.c
@@ -833,7 +833,7 @@ static int omap_dma_ch_reg_write(struct omap_dma_s *s,
return 1;
default:
- OMAP_BAD_REG((unsigned long) reg);
+ OMAP_BAD_REG((target_phys_addr_t) reg);
}
return 0;
}