summaryrefslogtreecommitdiffstats
path: root/hw
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
commit7373048ce60658914389e098dd2fd06275e3d38f (patch)
treeb2916797eb2e98c61a90a4b1b30981431dc315d1 /hw
parent55f11ca3c21827fe046b54a09d9ad5a897bbb7ad (diff)
downloadhqemu-7373048ce60658914389e098dd2fd06275e3d38f.zip
hqemu-7373048ce60658914389e098dd2fd06275e3d38f.tar.gz
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')
-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 f60b174..042a40f 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;
OpenPOWER on IntegriCloud