diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2013-06-10 16:45:40 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2013-06-10 16:45:40 +0000 |
commit | 6c1bd2919ee76ef4953136f0b73192fbef3a69ab (patch) | |
tree | 7a7243d5ca05da06d2fdb76f20507d911f4b391a /lib | |
parent | 27b7adef95a726555190072fd8603ba3a62b5d12 (diff) | |
download | external_llvm-6c1bd2919ee76ef4953136f0b73192fbef3a69ab.zip external_llvm-6c1bd2919ee76ef4953136f0b73192fbef3a69ab.tar.gz external_llvm-6c1bd2919ee76ef4953136f0b73192fbef3a69ab.tar.bz2 |
Silencing an MSVC warning about comparing signed and unsigned values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp b/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp index d83567c..679d3c4 100644 --- a/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp +++ b/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp @@ -461,7 +461,7 @@ void ARMELFStreamer::EmitRegSave(const SmallVectorImpl<unsigned> &RegList, const MCRegisterInfo &MRI = getContext().getRegisterInfo(); for (size_t i = 0; i < RegList.size(); ++i) { unsigned Reg = MRI.getEncodingValue(RegList[i]); - assert(Reg < (IsVector ? 32 : 16) && "Register out of range"); + assert(Reg < (IsVector ? 32U : 16U) && "Register out of range"); unsigned Bit = (1u << Reg); if ((Mask & Bit) == 0) { Mask |= Bit; |