Commit 7373048ce60658914389e098dd2fd06275e3d38f

Authored by blueswir1
1 parent 55f11ca3

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
Showing 1 changed file with 2 additions and 1 deletions
hw/ppc_oldworld.c
... ... @@ -121,7 +121,8 @@ static void ppc_heathrow_init (ram_addr_t ram_size, int vga_ram_size,
121 121 m48t59_t *m48t59;
122 122 int linux_boot, i;
123 123 ram_addr_t ram_offset, vga_ram_offset, bios_offset, vga_bios_offset;
124   - uint32_t kernel_base, kernel_size, initrd_base, initrd_size;
  124 + uint32_t kernel_base, initrd_base;
  125 + int32_t kernel_size, initrd_size;
125 126 PCIBus *pci_bus;
126 127 MacIONVRAMState *nvr;
127 128 int vga_bios_size, bios_size;
... ...