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 | 8373cc8cec5953919bb2b19c61c2238522dbce6c (patch) | |
| tree | 750d08e4a895380da0a07c3fe09426ae665442db | |
| parent | 351f9edacb85799b7eddf30142cf044b5af3f5ef (diff) | |
| download | bcm5719-llvm-8373cc8cec5953919bb2b19c61c2238522dbce6c.tar.gz bcm5719-llvm-8373cc8cec5953919bb2b19c61c2238522dbce6c.zip | |
Fix a signed comparison warning.
llvm-svn: 95766
| -rw-r--r-- | llvm/include/llvm/MC/MCFixup.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/MC/MCFixup.h b/llvm/include/llvm/MC/MCFixup.h index fdd8140a273..6763c054c05 100644 --- a/llvm/include/llvm/MC/MCFixup.h +++ b/llvm/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; } |

