mirror of https://github.com/xemu-project/xemu.git
Add casts for 64-bit hosts.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2218 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
08f396d720
commit
29bfb11725
|
@ -325,7 +325,7 @@ static uint32_t icp_pic_read(void *opaque, target_phys_addr_t offset)
|
||||||
case 5: /* INT_SOFTCLR */
|
case 5: /* INT_SOFTCLR */
|
||||||
case 11: /* FRQ_ENABLECLR */
|
case 11: /* FRQ_ENABLECLR */
|
||||||
default:
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -362,7 +362,7 @@ static void icp_pic_write(void *opaque, target_phys_addr_t offset,
|
||||||
case 8: /* FRQ_STATUS */
|
case 8: /* FRQ_STATUS */
|
||||||
case 9: /* FRQ_RAWSTAT */
|
case 9: /* FRQ_RAWSTAT */
|
||||||
default:
|
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;
|
return;
|
||||||
}
|
}
|
||||||
icp_pic_update(s);
|
icp_pic_update(s);
|
||||||
|
|
Loading…
Reference in New Issue