diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-02-10 04:46:51 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-02-10 04:46:51 +0000 |
commit | 4c6e18aefebf88b5602458c186cd395e22011f0a (patch) | |
tree | 7207507b286abc96203dab84d8654353408ff718 /include/llvm | |
parent | 3f451cafb5ba3a022c8e05cf2d054835f807dd11 (diff) | |
download | external_llvm-4c6e18aefebf88b5602458c186cd395e22011f0a.zip external_llvm-4c6e18aefebf88b5602458c186cd395e22011f0a.tar.gz external_llvm-4c6e18aefebf88b5602458c186cd395e22011f0a.tar.bz2 |
Fix a signed comparison warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95766 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/MC/MCFixup.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/MC/MCFixup.h b/include/llvm/MC/MCFixup.h index fdd8140..6763c05 100644 --- a/include/llvm/MC/MCFixup.h +++ b/include/llvm/MC/MCFixup.h @@ -77,9 +77,9 @@ public: FI.OpIndex = OpIndex; FI.Kind = unsigned(Kind); - assert(Offset == FI.Offset && "Offset out of range!"); - assert(OpIndex == FI.OpIndex && "Operand index out of range!"); - assert(Kind == FI.Kind && "Kind out of range!"); + assert(Offset == FI.getOffset() && "Offset out of range!"); + assert(OpIndex == FI.getOpIndex() && "Operand index out of range!"); + assert(Kind == FI.getKind() && "Kind out of range!"); return FI; } |