arm64: fix a wrong int type of a local var in printLabelOperand. this bug was introduced when we fixed C89 issue for MSVC

v2
Nguyen Anh Quynh 11 years ago
parent 6a4e8caf34
commit 0596e11bd5
  1. 5
      arch/AArch64/AArch64InstPrinter.c

@ -315,8 +315,9 @@ static void printLabelOperand(MCInst *MI, unsigned OpNum,
SStream *O, unsigned field_width, unsigned scale)
{
MCOperand *MO = MCInst_getOperand(MI, OpNum);
uint64_t UImm = 0, Sign = 0, SImm = 0;
int64_t tmp = 0;
uint64_t UImm, Sign;
int64_t SImm, tmp;
if (!MCOperand_isImm(MO)) {
printOperand(MI, OpNum, O);
return;

Loading…
Cancel
Save