diff --git a/lib/Target/Alpha/AlphaRegisterInfo.cpp b/lib/Target/Alpha/AlphaRegisterInfo.cpp index 3d2b354b0b3..7a4df2bd351 100644 --- a/lib/Target/Alpha/AlphaRegisterInfo.cpp +++ b/lib/Target/Alpha/AlphaRegisterInfo.cpp @@ -31,8 +31,8 @@ using namespace llvm; //These describe LDAx -static const int64_t IMM_LOW = 0xffffffffffff8000; -static const int IMM_HIGH = 0x0000000000007fff; +static const int64_t IMM_LOW = 0xffffffffffff8000LL; +static const int IMM_HIGH = 0x0000000000007fffLL; static const int IMM_MULT = 65536; static long getUpper16(long l)