]> xenbits.xensource.com Git - qemu-xen-4.1-testing.git/commitdiff
Fix vmmouse for 64bit guest, by Dan Kenigsberg.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 9 Oct 2007 03:19:01 +0000 (03:19 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 9 Oct 2007 03:19:01 +0000 (03:19 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3374 c046a42c-6fe2-441c-8c8c-71466251a162

hw/vmport.c

index e477fe88c4b2b97ad01fdbff41cb0c9750053681..bf56b84c57b0adea8480e9a0542e6fba9eabc14c 100644 (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)