SparcAsmParser.cpp: Appease msc x86.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245661 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2015-08-21 01:12:19 +00:00
parent 7f0a6c950c
commit 81fc7b208f

View File

@ -440,7 +440,7 @@ void SparcAsmParser::expandSET(MCInst &Inst, SMLoc IDLoc,
int64_t RawImmValue = IsImm ? MCValOp.getImm() : 0;
// Allow either a signed or unsigned 32-bit immediate.
if (RawImmValue < -2147483648 || RawImmValue > 4294967295) {
if (RawImmValue < -2147483648LL || RawImmValue > 4294967295LL) {
Error(IDLoc, "set: argument must be between -2147483648 and 4294967295");
return;
}