aboutsummaryrefslogtreecommitdiff
path: root/hw/vmport.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-09 03:19:01 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-09 03:19:01 +0000
commit6dab28d5b5bfa67bef724efac0bc051a69ff1339 (patch)
tree6b5c2d8d5586d8eaf9239edaae000fca4a682553 /hw/vmport.c
parentab19cb4129a6c54bc7da57e3f5c8b47116b64f63 (diff)
downloadqemu-6dab28d5b5bfa67bef724efac0bc051a69ff1339.zip
qemu-6dab28d5b5bfa67bef724efac0bc051a69ff1339.tar.gz
qemu-6dab28d5b5bfa67bef724efac0bc051a69ff1339.tar.bz2
Fix vmmouse for 64bit guest, by Dan Kenigsberg.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3374 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/vmport.c')
-rw-r--r--hw/vmport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vmport.c b/hw/vmport.c
index e477fe8..bf56b84 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)