diff --git a/.appveyor.yml b/appveyor.yml similarity index 100% rename from .appveyor.yml rename to appveyor.yml diff --git a/arch/X86/X86IntelInstPrinter.c b/arch/X86/X86IntelInstPrinter.c index 5b0453a38..a5a248ff3 100644 --- a/arch/X86/X86IntelInstPrinter.c +++ b/arch/X86/X86IntelInstPrinter.c @@ -420,10 +420,7 @@ static void _printOperand(MCInst *MI, unsigned OpNo, SStream *O) printRegName(O, MCOperand_getReg(Op)); } else if (MCOperand_isImm(Op)) { int64_t imm = MCOperand_getImm(Op); - if (MI->csh->imm_unsigned == CS_OPT_ON) - printImm(MI->csh->syntax, O, imm, true); - else - printImm(MI->csh->syntax, O, imm, false); + printImm(MI->csh->syntax, O, imm, false); } } @@ -848,10 +845,7 @@ static void printOperand(MCInst *MI, unsigned OpNo, SStream *O) // printf(">>> id = %u\n", MI->flat_insn->id); switch(MI->flat_insn->id) { default: - if (MI->csh->imm_unsigned == CS_OPT_ON) - printImm(MI->csh->syntax, O, imm, true); - else - printImm(MI->csh->syntax, O, imm, false); + printImm(MI->csh->syntax, O, imm, false); break; case X86_INS_MOVABS: