mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-27 23:40:25 +00:00
arm: fix more MSVC warnings
This commit is contained in:
parent
7299cc21e4
commit
f56ed8d79d
@ -1721,8 +1721,8 @@ static void printAddrMode5FP16Operand(MCInst *MI, unsigned OpNum, SStream *O,
|
||||
{
|
||||
MCOperand *MO1 = MCInst_getOperand(MI, OpNum);
|
||||
MCOperand *MO2 = MCInst_getOperand(MI, OpNum + 1);
|
||||
unsigned ImmOffs = (unsigned)getAM5FP16Offset(MCOperand_getImm(MO2));
|
||||
unsigned Op = (unsigned)getAM5FP16Op(MCOperand_getImm(MO2));
|
||||
unsigned ImmOffs = getAM5FP16Offset((unsigned)MCOperand_getImm(MO2));
|
||||
unsigned Op = getAM5FP16Op((unsigned)MCOperand_getImm(MO2));
|
||||
|
||||
if (!MCOperand_isReg(MO1)) { // FIXME: This is for CP entries, but isn't right.
|
||||
printOperand(MI, OpNum, O);
|
||||
|
@ -954,7 +954,7 @@ void ARM_reg_access(const cs_insn *insn,
|
||||
unsigned int binsearch_IndexType(const struct IndexType *index, size_t size, uint16_t encoding)
|
||||
{
|
||||
// binary searching since the index is sorted in encoding order
|
||||
unsigned int left, right, m;
|
||||
size_t left, right, m;
|
||||
|
||||
right = size - 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user