projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d614cb6
)
hw/ppc/spapr_hcall.c: Add ULL suffix to 64 bit constant
author
Peter Maydell
<peter.maydell@linaro.org>
Tue, 8 Jul 2014 14:53:42 +0000
(15:53 +0100)
committer
Peter Maydell
<peter.maydell@linaro.org>
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 <peter.maydell@linaro.org>
hw/ppc/spapr_hcall.c
patch
|
blob
|
history
diff --git
a/hw/ppc/spapr_hcall.c
b/hw/ppc/spapr_hcall.c
index 795207799dfbd4d59e9de3d1250945aa21f24b86..467858ce05fc6e370986e5e381136cf1ebbee941 100644
(file)
--- 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 = 0xC000000000004000
ULL
;
break;
default:
return H_UNSUPPORTED_FLAG;