Fix a warning due to signed/unsigned comparison.

llvm-svn: 297639
This commit is contained in:
Zachary Turner 2017-03-13 16:41:49 +00:00
parent f8435a9bda
commit e677a92241
1 changed files with 1 additions and 1 deletions

View File

@ -1031,7 +1031,7 @@ public:
const result_type &operator*() const { return Result; }
enumerator_iter<R> &operator++() {
assert(Result.Index != -1);
assert(Result.Index != size_t(-1));
++Result.Iter;
++Result.Index;
return *this;