projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f451ca
)
Fix a signed comparison warning.
author
Daniel Dunbar
<daniel@zuster.org>
Wed, 10 Feb 2010 04:46:51 +0000
(
04:46
+0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Wed, 10 Feb 2010 04:46:51 +0000
(
04:46
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95766
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/MC/MCFixup.h
patch
|
blob
|
history
diff --git
a/include/llvm/MC/MCFixup.h
b/include/llvm/MC/MCFixup.h
index fdd8140a27386d5ae30307ab9385479e1b9cf57f..6763c054c05316d0e9f5e4438e50a9fc607d1572 100644
(file)
--- 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;
}