summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-rw-r--r--hw/s390-virtio.c2
1 files changed, 1 insertions, 1 deletions
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) {