diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-20 08:07:15 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-20 08:07:15 +0000 |
commit | b55266b5a235afe7b0aa946e2a6d49010f35e71c (patch) | |
tree | 2fe5802cc0ce47d7e8d4bdd2ea08a8dfa74f6720 /hw/mips_malta.c | |
parent | 67d8cec34b1560973f5c25e14fac53b4ef5b0f6e (diff) |
Suppress gcc 4.x -Wpointer-sign (included in -Wall) warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5275 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mips_malta.c')
-rw-r--r-- | hw/mips_malta.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/mips_malta.c b/hw/mips_malta.c index d94613c8e7..449b13bf30 100644 --- a/hw/mips_malta.c +++ b/hw/mips_malta.c @@ -701,7 +701,8 @@ static int64_t load_kernel (CPUState *env) ram_addr_t initrd_offset; if (load_elf(loaderparams.kernel_filename, VIRT_TO_PHYS_ADDEND, - &kernel_entry, &kernel_low, &kernel_high) < 0) { + (uint64_t *)&kernel_entry, (uint64_t *)&kernel_low, + (uint64_t *)&kernel_high) < 0) { fprintf(stderr, "qemu: could not load kernel '%s'\n", loaderparams.kernel_filename); exit(1); |