summaryrefslogtreecommitdiff
path: root/builtin/reset.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2020-03-30 10:03:20 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-03-30 10:59:08 -0700
commiteccce5253b9bfb17238f7d94c9ccf1cfd935eeb2 (patch)
tree1246e979d2523a258c5062327b96fe6f44dc51b5 /builtin/reset.c
parentoid_array: use size_t for count and allocation (diff)
downloadtgif-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