On 11/08/16 13:04, Jan Beulich wrote:
> @@ -2415,12 +2425,10 @@ x86_emulate(
>          break;
>      }
>  
> -    case 0x70 ... 0x7f: /* jcc (short) */ {
> -        int rel = insn_fetch_type(int8_t);
> +    case 0x70 ... 0x7f: /* jcc (short) */
>          if ( test_cc(b, _regs.eflags) )
> -            jmp_rel(rel);
> +            jmp_rel((int32_t)src.val);

jmp_rel() already contains an explicit (int) cast of its parameter.  Is
the (int32_t) actually needed?

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to