diff mbox

[17/36] sparse: fix warning constant is so big it is long in hw/psi.c

Message ID 1447129110-21600-18-git-send-email-stewart@linux.vnet.ibm.com
State Accepted
Headers show

Commit Message

Stewart Smith Nov. 10, 2015, 4:18 a.m. UTC
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(-)
diff mbox

Patch

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);