SparcAsmParser.cpp: Appease msc x86.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 21 Aug 2015 01:12:19 +0000 (01:12 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 21 Aug 2015 01:12:19 +0000 (01:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245661 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Sparc/AsmParser/SparcAsmParser.cpp

index d8f8d216ba5aa85dbc7ec444541fe5ae92a9a5fe..6f13993fd01dce721a259b95a5e29e81ed75f432 100644 (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;
   }