]> git.proxmox.com Git - qemu.git/commitdiff
fixed cast
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 11 Nov 2007 19:48:47 +0000 (19:48 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 11 Nov 2007 19:48:47 +0000 (19:48 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3613 c046a42c-6fe2-441c-8c8c-71466251a162

hw/omap.c

index a0f0a1925ea9586e2175b3fde73c0e523be92720..30c0bef5e5a67b5b1db7717f645fdc2b75704421 100644 (file)
--- 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;
 }