Fix vmmouse for 64bit guest, by Dan Kenigsberg.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3374 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2007-10-09 03:19:01 +00:00
parent ab19cb4129
commit 6dab28d5b5

View file

@ -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)