Fix a signed comparison warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95766 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2010-02-10 04:46:51 +00:00
parent 3f451cafb5
commit 4c6e18aefe

View File

@ -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;
}