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_newworld.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_newworld.c')
-rw-r--r-- | hw/ppc_newworld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc_newworld.c b/hw/ppc_newworld.c index 2a350eb8c5..cfeddabbdd 100644 --- a/hw/ppc_newworld.c +++ b/hw/ppc_newworld.c @@ -195,7 +195,7 @@ static void ppc_core99_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, |