oid_array: use size_t for iteration
authorJeff King <redacted>
Mon, 30 Mar 2020 14:03:20 +0000 (10:03 -0400)
committerJunio C Hamano <redacted>
Mon, 30 Mar 2020 17:59:08 +0000 (10:59 -0700)
commiteccce5253b9bfb17238f7d94c9ccf1cfd935eeb2
tree1246e979d2523a258c5062327b96fe6f44dc51b5
parent600bee4e70a1672bf1e8d50c3afd02090f1f32ae
oid_array: use size_t for iteration

The previous commit started using size_t for our allocations. There are
some iterations that use int or unsigned, though. These aren't dangerous
with respect to memory, but they could produce incorrect results.

Signed-off-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
sha1-array.c
git clone https://git.99rst.org/PROJECT