aboutsummaryrefslogtreecommitdiff
path: root/hw/alpha_dp264.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2011-10-09 08:50:50 +0200
committerBlue Swirl <blauwirbel@gmail.com>2011-10-09 08:18:30 +0000
commit02d6516c8ba00bdd6d96b622f000cb28c3449f43 (patch)
treecd7669f42d2a320776d57c7254163d8bf0737620 /hw/alpha_dp264.c
parent9a7242f7867e1f1e70013aa70d148c65a1980aec (diff)
target-alpha: Fix compilation errors for 32 bit hosts
On i386, these errors were reported: qemu/hw/alpha_dp264.c: In function ‘clipper_init’: qemu/hw/alpha_dp264.c:158: error: integer constant is too large for ‘unsigned long’ type qemu/hw/alpha_typhoon.c: In function ‘typhoon_init’: qemu/hw/alpha_typhoon.c:737: error: integer constant is too large for ‘long’ type qemu/hw/alpha_typhoon.c:741: error: integer constant is too large for ‘long’ type qemu/hw/alpha_typhoon.c:745: error: integer constant is too large for ‘long’ type qemu/hw/alpha_typhoon.c:749: error: integer constant is too large for ‘long’ type qemu/hw/alpha_typhoon.c:757: error: integer constant is too large for ‘long’ type qemu/hw/alpha_typhoon.c:767: error: integer constant is too large for ‘long’ type qemu/hw/alpha_typhoon.c:772: error: integer constant is too large for ‘long’ type Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/alpha_dp264.c')
-rw-r--r--hw/alpha_dp264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/alpha_dp264.c b/hw/alpha_dp264.c
index 7c36b21f0c..fcc20e973d 100644
--- a/hw/alpha_dp264.c
+++ b/hw/alpha_dp264.c
@@ -155,7 +155,7 @@ static void clipper_init(ram_addr_t ram_size,
load_image_targphys(initrd_filename, initrd_base,
ram_size - initrd_base);
- stq_phys(param_offset + 0x100, initrd_base + 0xfffffc0000000000UL);
+ stq_phys(param_offset + 0x100, initrd_base + 0xfffffc0000000000ULL);
stq_phys(param_offset + 0x108, initrd_size);
}
}