Message ID | 1447129110-21600-18-git-send-email-stewart@linux.vnet.ibm.com |
---|---|
State | Accepted |
Headers | show |
diff --git a/hw/psi.c b/hw/psi.c index cb0dbabeef87..0823ec80f268 100644 --- a/hw/psi.c +++ b/hw/psi.c @@ -523,7 +523,7 @@ void psi_irq_reset(void) list_for_each(&psis, psi, list) { /* Mask the interrupt & clean the XIVR */ - xivr = 0x000000ff00000000; + xivr = 0x000000ff00000000UL; xivr |= P7_IRQ_BUID(psi->interrupt) << 16; out_be64(psi->regs + PSIHB_XIVR, xivr);
hw/psi.c:526:24: warning: constant 0x000000ff00000000 is so big it is long Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> --- hw/psi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)