From 6dab28d5b5bfa67bef724efac0bc051a69ff1339 Mon Sep 17 00:00:00 2001 From: ths Date: Tue, 9 Oct 2007 03:19:01 +0000 Subject: [PATCH] Fix vmmouse for 64bit guest, by Dan Kenigsberg. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3374 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/vmport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/vmport.c b/hw/vmport.c index e477fe88c4..bf56b84c57 100644 --- a/hw/vmport.c +++ b/hw/vmport.c @@ -52,7 +52,7 @@ static uint32_t vmport_ioport_read(void *opaque, uint32_t addr) { VMPortState *s = opaque; unsigned char command; - target_ulong eax; + uint32_t eax; eax = s->env->regs[R_EAX]; if (eax != VMPORT_MAGIC)