summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/x86emu/x86.c2
1 files changed, 1 insertions, 1 deletions
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();