Make clear that we are using ptrdiff_t as the iterator difference type.
authorLei Zhang <antiagainst@google.com>
Tue, 16 Aug 2016 15:19:34 +0000 (11:19 -0400)
committerLei Zhang <antiagainst@google.com>
Tue, 16 Aug 2016 15:21:08 +0000 (11:21 -0400)
commitb65124f097251ee150ba98b31d9ee6dbd08c624b
tree47fa5f06d88a6977e8854785757269cd4562bd51
parent9747d33d08cd3ef069c08b37ff94a971707a5741
Make clear that we are using ptrdiff_t as the iterator difference type.

And ptrdiff_t is a implementation defined signed type. Comparing it
with unsigned number literal causes compiler warnings.
source/opt/iterator.h
test/opt/test_ir_loader.cpp