From 2e6727362410294ad39116a3d84d99746565ce05 Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Thu, 12 Nov 2009 16:38:03 +0000 Subject: Add CONFIG_WARNINGS_ARE_ERRORS and set it for qemu. Remove all remaining warnings from qemu. Signed-off-by: Myles Watson Acked-by: Ronald G. Minnich git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4939 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/x86emu/x86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/x86emu') diff --git a/util/x86emu/x86.c b/util/x86emu/x86.c index 2f314a043f..4ceb4b2e07 100644 --- a/util/x86emu/x86.c +++ b/util/x86emu/x86.c @@ -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(); -- cgit v1.2.3