summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCFixup.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-02-10 04:46:51 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-02-10 04:46:51 +0000
commit4c6e18aefebf88b5602458c186cd395e22011f0a (patch)
tree7207507b286abc96203dab84d8654353408ff718 /include/llvm/MC/MCFixup.h
parent3f451cafb5ba3a022c8e05cf2d054835f807dd11 (diff)
downloadllvm-4c6e18aefebf88b5602458c186cd395e22011f0a.tar.gz
llvm-4c6e18aefebf88b5602458c186cd395e22011f0a.tar.bz2
llvm-4c6e18aefebf88b5602458c186cd395e22011f0a.tar.xz
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/MC/MCFixup.h')
-rw-r--r--include/llvm/MC/MCFixup.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/MC/MCFixup.h b/include/llvm/MC/MCFixup.h
index fdd8140a27..6763c054c0 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;
}