aboutsummaryrefslogtreecommitdiff
path: root/hw/vmport.c
diff options
context:
space:
mode:
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 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)