Commit f8c6ff6c3cede2414da9be3e270218cdf3f8fc2c
1 parent
04e897ef
Fix initrd load address.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2281 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
hw/mips_r4k.c
... | ... | @@ -12,7 +12,7 @@ |
12 | 12 | #define BIOS_FILENAME "mips_bios.bin" |
13 | 13 | //#define BIOS_FILENAME "system.bin" |
14 | 14 | #ifdef MIPS_HAS_MIPS64 |
15 | -#define INITRD_LOAD_ADDR (int64_t)0x80800000 | |
15 | +#define INITRD_LOAD_ADDR (int64_t)(int32_t)0x80800000 | |
16 | 16 | #else |
17 | 17 | #define INITRD_LOAD_ADDR (int32_t)0x80800000 |
18 | 18 | #endif | ... | ... |