summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2015-12-07 17:03:02 -0500
committerAdam Jackson <ajax@redhat.com>2015-12-07 17:05:39 -0500
commit2a52c06e235bd79f91851121f53f7c1808fde321 (patch)
treece7a542e5cc1869e0e268b01e2d5df61c8abf68e
parent59b618227ebd024e57720aaaea17596953f5b80e (diff)
x86emu: Squash a warning
Apologies, should have caught this one when applying the previous x86emu patch. Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--hw/xfree86/x86emu/ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/x86emu/ops.c b/hw/xfree86/x86emu/ops.c
index 551dca78f..210f8ce64 100644
--- a/hw/xfree86/x86emu/ops.c
+++ b/hw/xfree86/x86emu/ops.c
@@ -12078,7 +12078,7 @@ x86emuOp_opcFF_word_RM(u8 X86EMU_UNUSED(op1))
break;
case 2: /* call word ptr ... */
if (M.x86.mode & SYSMODE_PREFIX_DATA) {
- destreg = DECODE_RM_LONG_REGISTER(rl);
+ destreg = (u16 *)DECODE_RM_LONG_REGISTER(rl);
DECODE_PRINTF("\n");
TRACE_AND_STEP();
push_long(M.x86.R_EIP);