From b653282eccd2b43fd8068b9d6de40a3ff9e801ec Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 8 Jul 2014 15:53:42 +0100 Subject: hw/ppc/spapr_hcall.c: Add ULL suffix to 64 bit constant Add ULL suffix to 64 bit constant to prevent compiler warnings on some 32 bit platforms. Signed-off-by: Peter Maydell --- hw/ppc/spapr_hcall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/ppc/spapr_hcall.c') diff --git a/hw/ppc/spapr_hcall.c b/hw/ppc/spapr_hcall.c index 795207799d..467858ce05 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; -- cgit v1.2.3