diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-07-08 15:53:42 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-07-08 16:03:19 +0100 |
commit | b653282eccd2b43fd8068b9d6de40a3ff9e801ec (patch) | |
tree | fc8ed54d15de878c2fce44e54fa6d6be7143b01d | |
parent | d614cb68dacca24eb003825144d5a55d8f459a13 (diff) |
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 <peter.maydell@linaro.org>
-rw-r--r-- | hw/ppc/spapr_hcall.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |