summaryrefslogtreecommitdiff
path: root/csum-file.c
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2022-03-23 17:13:05 +0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-23 11:38:39 -0700
commit132ceda40f5fe6e53ff7189a941f7e77a165cb7e (patch)
tree01924e311c4a4508e782d0a278a7d74d467a86b1 /csum-file.c
parentls-tree: use "enum object_type", not {blob,tree,commit}_type (diff)
downloadtgif-132ceda40f5fe6e53ff7189a941f7e77a165cb7e.tar.xz
ls-tree: use "size_t", not "int" for "struct strbuf"'s "len"
The "struct strbuf"'s "len" member is a "size_t", not an "int", so let's change our corresponding types accordingly. This also changes the "len" and "speclen" variables, which are likewise used to store the return value of strlen(), which returns "size_t", not "int". Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'csum-file.c')
0 files changed, 0 insertions, 0 deletions