X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fjit%2Fcodegenarmarch.cpp;h=eb53d2b0b71cbe30a908f0418e918e37f5496787;hb=38d416dd613ad10ac69e624096615a18214b5e53;hp=b66e309eaa32b6cc29e0a0ddf2b2003d1f1bf849;hpb=57cdf454b123a44ef8d5944f4022b9502ce52d8a;p=platform%2Fupstream%2Fcoreclr.git diff --git a/src/jit/codegenarmarch.cpp b/src/jit/codegenarmarch.cpp index b66e309..eb53d2b 100644 --- a/src/jit/codegenarmarch.cpp +++ b/src/jit/codegenarmarch.cpp @@ -1573,7 +1573,7 @@ void CodeGen::genCodeForShift(GenTree* tree) else { unsigned immWidth = emitter::getBitWidth(size); // For ARM64, immWidth will be set to 32 or 64 - ssize_t shiftByImm = shiftBy->gtIntCon.gtIconVal & (immWidth - 1); + unsigned shiftByImm = (unsigned)shiftBy->gtIntCon.gtIconVal & (immWidth - 1); getEmitter()->emitIns_R_R_I(ins, size, tree->gtRegNum, operand->gtRegNum, shiftByImm); }