Received: from eggs.gnu.org ([2001:4830:134:3::10]:34616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4Wtg-0002WG-UG for qemu-devel@nongnu.org; Tue, 08 Jul 2014 11:01:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4Wtf-00065A-VO for qemu-devel@nongnu.org; Tue, 08 Jul 2014 11:01:32 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:48796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4Wtf-000652-PE for qemu-devel@nongnu.org; Tue, 08 Jul 2014 11:01:31 -0400 From: Peter Maydell Date: Tue, 8 Jul 2014 16:01:28 +0100 Message-Id: <1404831688-12772-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [for-2.1] hw/ppc/spapr_hcall.c: Add ULL suffix to 64 bit constant List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexey Kardashevskiy , Alexander Graf Add ULL suffix to 64 bit constant to prevent compiler warnings on some 32 bit platforms. Signed-off-by: Peter Maydell --- Planning to commit this to master as a buildfix for rc1. hw/ppc/spapr_hcall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ppc/spapr_hcall.c b/hw/ppc/spapr_hcall.c index 7952077..467858c 100644 --- a/hw/ppc/spapr_hcall.c +++ b/hw/ppc/spapr_hcall.c @@ -770,7 +770,7 @@ static target_ulong h_set_mode_resouce_addr_trans_mode(PowerPCCPU *cpu, prefix = 0x18000; break; case H_SET_MODE_ADDR_TRANS_C000_0000_0000_4000: - prefix = 0xC000000000004000; + prefix = 0xC000000000004000ULL; break; default: return H_UNSUPPORTED_FLAG; -- 1.9.1