diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-16 03:16:05 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-16 03:16:05 +0000 |
commit | ffe8ab83da7a3c8cf19c0f8ebeb19db857707410 (patch) | |
tree | 90d9e83181498cd5376f5839ee630a1d15a4dc3c /hw | |
parent | 60fe76f38605e0e2eedb436d0945af283029c4e0 (diff) | |
download | qemu-ffe8ab83da7a3c8cf19c0f8ebeb19db857707410.zip qemu-ffe8ab83da7a3c8cf19c0f8ebeb19db857707410.tar.gz qemu-ffe8ab83da7a3c8cf19c0f8ebeb19db857707410.tar.bz2 |
Fix char* signedness, by Andre Przywara.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3816 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r-- | hw/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -552,7 +552,7 @@ static void load_linux(const char *kernel_filename, initrd_max = ram_size-ACPI_DATA_SIZE-1; /* kernel command line */ - pstrcpy(cmdline_addr, 4096, kernel_cmdline); + pstrcpy((char*)cmdline_addr, 4096, kernel_cmdline); if (protocol >= 0x202) { stl_p(header+0x228, cmdline_addr-phys_ram_base); |