forked from OSchip/llvm-project
Fix signed/unsigned comparison warnings.
llvm-svn: 298813
This commit is contained in:
parent
7375448893
commit
ca8bd25824
|
@ -3150,7 +3150,7 @@ public:
|
|||
assert(((unsigned)Index == DefaultPseudoIndex ||
|
||||
(unsigned)Index < SI->getNumCases()) &&
|
||||
"Index out the number of cases.");
|
||||
return Index != DefaultPseudoIndex ? Index + 1 : 0;
|
||||
return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0;
|
||||
}
|
||||
|
||||
Self &operator+=(ptrdiff_t N) {
|
||||
|
|
Loading…
Reference in New Issue