mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 07:31:47 +00:00
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:
parent
7f0a6c950c
commit
81fc7b208f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user