Skip to contentSkip to conversation

[6415] Fix kernel_size and initrd_size sign (Francois Revol)

Qemu-devel Blue Swirl 1 participant 1 message Jan 24, 2009

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 6415

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6415
Author:   blueswir1
Date:     2009-01-24 12:00:23 +0000 (Sat, 24 Jan 2009)

Log Message:
-----------
Fix kernel_size and initrd_size sign (Francois Revol)

Modified Paths:
--------------
trunk/hw/ppc_oldworld.c

Modified: trunk/hw/ppc_oldworld.c
===================================================================

hw/ppc_oldworld.c +2 -1
@@ -121,7 +121,8 @@
     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;