1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00

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 84ce56f415
commit 2810a164dd

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;