diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-07-31 21:16:51 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-07-31 21:16:51 +0000 |
commit | 660f11be541813be5f09fbaf44d8e7c6d5a5bbfe (patch) | |
tree | 1d133bdfc69d11fe81e769825adf3f680ee2f91e /hw/ppc_oldworld.c | |
parent | 2e29bd04786003561303dcad940b38afe790fb9b (diff) |
Fix Sparse warnings: "Using plain integer as NULL pointer"
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/ppc_oldworld.c')
-rw-r--r-- | hw/ppc_oldworld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc_oldworld.c b/hw/ppc_oldworld.c index 7931f44088..06e014195e 100644 --- a/hw/ppc_oldworld.c +++ b/hw/ppc_oldworld.c @@ -227,7 +227,7 @@ static void ppc_heathrow_init (ram_addr_t ram_size, kernel_size = load_elf(kernel_filename, kernel_base, NULL, &lowaddr, NULL); if (kernel_size > 0 && lowaddr != KERNEL_LOAD_ADDR) { kernel_size = load_elf(kernel_filename, (2 * kernel_base) - lowaddr, - NULL, 0, NULL); + NULL, NULL, NULL); } if (kernel_size < 0) kernel_size = load_aout(kernel_filename, kernel_base, |