oid_array: use size_t for iteration
commiteccce5253b9bfb17238f7d94c9ccf1cfd935eeb2
authorJeff King <peff@peff.net>
Mon, 30 Mar 2020 14:03:20 +0000 (30 10:03 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Mar 2020 17:59:08 +0000 (30 10:59 -0700)
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 <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1-array.c