projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add CONFIG_WARNINGS_ARE_ERRORS and set it for qemu.
[coreboot.git]
/
util
/
x86emu
/
x86.c
diff --git
a/util/x86emu/x86.c
b/util/x86emu/x86.c
index 2f314a043f8a389eb4a05045547420b6a4c843a7..4ceb4b2e0734496b94cad9c7dd74ceca99e437c0 100644
(file)
--- 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();