summaryrefslogtreecommitdiff
path: root/hw/ppc_oldworld.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-24 12:00:23 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-24 12:00:23 +0000
commitc04e35fc5973092b1a1c1991d603da6d75943a2b (patch)
treeb2916797eb2e98c61a90a4b1b30981431dc315d1 /hw/ppc_oldworld.c
parent0fb76a2b6034c187caf4f5ae7fd83dc5530f4f7a (diff)
downloadqemu-c04e35fc5973092b1a1c1991d603da6d75943a2b.tar.gz
qemu-c04e35fc5973092b1a1c1991d603da6d75943a2b.tar.bz2
qemu-c04e35fc5973092b1a1c1991d603da6d75943a2b.zip
Fix kernel_size and initrd_size sign (Francois Revol)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6415 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ppc_oldworld.c')
-rw-r--r--hw/ppc_oldworld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/ppc_oldworld.c b/hw/ppc_oldworld.c
index f60b174e3a..042a40feea 100644
--- a/hw/ppc_oldworld.c
+++ b/hw/ppc_oldworld.c
@@ -121,7 +121,8 @@ static void ppc_heathrow_init (ram_addr_t ram_size, int vga_ram_size,
m48t59_t *m48t59;
int linux_boot, i;
ram_addr_t ram_offset, vga_ram_offset, bios_offset, vga_bios_offset;
- uint32_t kernel_base, kernel_size, initrd_base, initrd_size;
+ uint32_t kernel_base, initrd_base;
+ int32_t kernel_size, initrd_size;
PCIBus *pci_bus;
MacIONVRAMState *nvr;
int vga_bios_size, bios_size;