diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-11-19 23:07:17 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-11-19 23:07:17 +0000 |
commit | 29bfb117251c96034bb9f9144bc61799137690c3 (patch) | |
tree | 18d9989fe9c34e06997d6ad42bc2133223cb59f6 /hw/integratorcp.c | |
parent | 08f396d720d5dd9adf1520cea00ff5fcf776c1f3 (diff) |
Add casts for 64-bit hosts.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2218 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/integratorcp.c')
-rw-r--r-- | hw/integratorcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/integratorcp.c b/hw/integratorcp.c index f438af733d..17dca28599 100644 --- a/hw/integratorcp.c +++ b/hw/integratorcp.c @@ -325,7 +325,7 @@ static uint32_t icp_pic_read(void *opaque, target_phys_addr_t offset) case 5: /* INT_SOFTCLR */ case 11: /* FRQ_ENABLECLR */ default: - printf ("icp_pic_read: Bad register offset 0x%x\n", offset); + printf ("icp_pic_read: Bad register offset 0x%x\n", (int)offset); return 0; } } @@ -362,7 +362,7 @@ static void icp_pic_write(void *opaque, target_phys_addr_t offset, case 8: /* FRQ_STATUS */ case 9: /* FRQ_RAWSTAT */ default: - printf ("icp_pic_write: Bad register offset 0x%x\n", offset); + printf ("icp_pic_write: Bad register offset 0x%x\n", (int)offset); return; } icp_pic_update(s); |