summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2021-01-18 23:49:10 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-01-18 17:38:19 -0800
commit83dff3eb2ed9cd750ec89f3dc5bab44b16119743 (patch)
tree179e812a11ff8c2331f4849261f7bc5924666574 /t
parentThe first batch in 2.31 cycle (diff)
downloadtgif-83dff3eb2ed9cd750ec89f3dc5bab44b16119743.tar.xz
ref-filter: switch some uses of unsigned long to size_t
In the future, we'll want to pass some of the arguments of find_subpos to strbuf_detach, which takes a size_t. This is fine on systems where that's the same size as unsigned long, but that isn't the case on all systems. Moreover, size_t makes sense since it's not possible to use a buffer here that's larger than memory anyway. Let's switch each use to size_t for these lengths in grab_sub_body_contents and find_subpos. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions