diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-03 13:33:01 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-03 13:33:01 +0000 |
commit | 3c8ac786c83f4ee08442bd2233a34306b8c8e286 (patch) | |
tree | 1251b30c0f5472c6f0ef0ca10fe58cdec3b9ed47 /src/northbridge/via/cn700/vga.c | |
parent | c65666f70d2b9885a7134c564784be2a49394f91 (diff) |
remove more warnings.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5353 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/via/cn700/vga.c')
-rw-r--r-- | src/northbridge/via/cn700/vga.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/via/cn700/vga.c b/src/northbridge/via/cn700/vga.c index 283f23dd16..789dbfb480 100644 --- a/src/northbridge/via/cn700/vga.c +++ b/src/northbridge/via/cn700/vga.c @@ -52,7 +52,7 @@ static void vga_init(device_t dev) * Copy BOCHS BIOS from 4G-CONFIG_ROM_SIZE-64k (in flash) to 0xf0000 (in RAM) * This is for compatibility with the VGA ROM's BIOS callbacks. */ - memcpy(0xf0000, (0xffffffff - CONFIG_ROM_SIZE - 0xffff), 0x10000); + memcpy((void *)0xf0000, (const void *)(0xffffffff - CONFIG_ROM_SIZE - 0xffff), 0x10000); printk(BIOS_DEBUG, "Initializing VGA\n"); @@ -98,7 +98,7 @@ static void vga_init(device_t dev) outb(reg8, SR_DATA); /* Clear the BOCHS BIOS out of memory, so it doesn't confuse Linux. */ - memset(0xf0000, 0, 0x10000); + memset((void *)0xf0000, 0, 0x10000); } static const struct device_operations vga_operations = { |