From 0435d39360775ab04ac0b2c443684b96f7c78563 Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Sun, 13 Dec 2009 16:44:33 +0200 Subject: s390: fix build on 32 bit host MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Building on 32 bit host we get: hw/s390-virtio.c: In function ‘s390_init’: hw/s390-virtio.c:184: error: integer constant is too large for ‘unsigned long’ type 64 bit values must be ULL. Signed-off-by: Michael S. Tsirkin Acked-by: Alexander Graf Signed-off-by: Aurelien Jarno --- hw/s390-virtio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw') diff --git a/hw/s390-virtio.c b/hw/s390-virtio.c index 51c032adc2..e71dbe61a5 100644 --- a/hw/s390-virtio.c +++ b/hw/s390-virtio.c @@ -181,7 +181,7 @@ static void s390_init(ram_addr_t ram_size, cpu_synchronize_state(env); env->psw.addr = KERN_IMAGE_START; - env->psw.mask = 0x0000000180000000UL; + env->psw.mask = 0x0000000180000000ULL; } if (initrd_filename) { -- cgit v1.2.3