]> Git Repo - qemu.git/commitdiff
hw/ppc/spapr_hcall.c: Add ULL suffix to 64 bit constant
authorPeter Maydell <[email protected]>
Tue, 8 Jul 2014 14:53:42 +0000 (15:53 +0100)
committerPeter Maydell <[email protected]>
Tue, 8 Jul 2014 15:03:19 +0000 (16:03 +0100)
Add ULL suffix to 64 bit constant to prevent compiler warnings
on some 32 bit platforms.

Signed-off-by: Peter Maydell <[email protected]>
hw/ppc/spapr_hcall.c

index 795207799dfbd4d59e9de3d1250945aa21f24b86..467858ce05fc6e370986e5e381136cf1ebbee941 100644 (file)
@@ -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;
This page took 0.025945 seconds and 4 git commands to generate.