Add CONFIG_WARNINGS_ARE_ERRORS and set it for qemu.
[coreboot.git] / util / x86emu / x86.c
index 2f314a043f8a389eb4a05045547420b6a4c843a7..4ceb4b2e0734496b94cad9c7dd74ceca99e437c0 100644 (file)
@@ -126,7 +126,7 @@ static void setup_realmode_idt(void)
 void run_bios(struct device *dev, unsigned long addr)
 {
        /* clear vga bios data area */
-       memset(0x400, 0, 0x200);
+       memset((void *)0x400, 0, 0x200);
        
        /* Set up C interrupt handlers */
        setup_interrupt_handlers();