Skip to content

Commit

Permalink
fix instructionAPI warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pefoley2 committed Sep 28, 2016
1 parent fed8d78 commit db925d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instructionAPI/src/InstructionDecoder-aarch64.C
Expand Up @@ -2289,7 +2289,7 @@ Expression::Ptr InstructionDecoder_aarch64::makeMemRefExPair2(){
int immLen) {
Expression::Ptr lhs = makePCExpr();

int offset = sign_extend64(immLen + 2, immVal * 4);
int64_t offset = sign_extend64(immLen + 2, immVal * 4);
Expression::Ptr rhs = Immediate::makeImmediate(Result(s64, offset));

insn_in_progress->addSuccessor(makeAddExpression(lhs, rhs, s64), branchIsCall, false, bIsConditional,
Expand Down

0 comments on commit db925d4

Please sign in to comment.