From 8373cc8cec5953919bb2b19c61c2238522dbce6c Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 10 Feb 2010 04:46:51 +0000 Subject: [PATCH] Fix a signed comparison warning. llvm-svn: 95766 --- llvm/include/llvm/MC/MCFixup.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/include/llvm/MC/MCFixup.h b/llvm/include/llvm/MC/MCFixup.h index fdd8140a2738..6763c054c053 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; }