From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NJpjI-0002BS-Uc for qemu-devel@nongnu.org; Sun, 13 Dec 2009 09:47:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NJpjE-0002Ac-Gp for qemu-devel@nongnu.org; Sun, 13 Dec 2009 09:47:24 -0500 Received: from [199.232.76.173] (port=34530 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJpjE-0002AZ-D2 for qemu-devel@nongnu.org; Sun, 13 Dec 2009 09:47:20 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39123) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NJpjD-00015j-Uh for qemu-devel@nongnu.org; Sun, 13 Dec 2009 09:47:20 -0500 Date: Sun, 13 Dec 2009 16:44:33 +0200 From: "Michael S. Tsirkin" Message-ID: <20091213144433.GA11006@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH] s390: fix build on 32 bit host List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Anthony Liguori , agraf@suse.de Building on 32 bit host we get: hw/s390-virtio.c: In function =E2=80=98s390_init=E2=80=99: hw/s390-virtio.c:184: error: integer constant is too large for =E2=80=98u= nsigned long=E2=80=99 type 64 bit values must be ULL. Signed-off-by: Michael S. Tsirkin --- hw/s390-virtio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/s390-virtio.c b/hw/s390-virtio.c index 51c032a..e71dbe6 100644 --- a/hw/s390-virtio.c +++ b/hw/s390-virtio.c @@ -181,7 +181,7 @@ static void s390_init(ram_addr_t ram_size, =20 cpu_synchronize_state(env); env->psw.addr =3D KERN_IMAGE_START; - env->psw.mask =3D 0x0000000180000000UL; + env->psw.mask =3D 0x0000000180000000ULL; } =20 if (initrd_filename) { --=20 1.6.6.rc1.43.gf55cc