diff options
author | Jeff King <peff@peff.net> | 2020-03-30 10:03:20 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-03-30 10:59:08 -0700 |
commit | eccce5253b9bfb17238f7d94c9ccf1cfd935eeb2 (patch) | |
tree | 1246e979d2523a258c5062327b96fe6f44dc51b5 /builtin/reset.c | |
parent | oid_array: use size_t for count and allocation (diff) | |
download | tgif-eccce5253b9bfb17238f7d94c9ccf1cfd935eeb2.tar.xz |
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>
Diffstat (limited to 'builtin/reset.c')
0 files changed, 0 insertions, 0 deletions