diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-03-23 17:13:05 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-23 11:38:39 -0700 |
commit | 132ceda40f5fe6e53ff7189a941f7e77a165cb7e (patch) | |
tree | 01924e311c4a4508e782d0a278a7d74d467a86b1 /csum-file.c | |
parent | ls-tree: use "enum object_type", not {blob,tree,commit}_type (diff) | |
download | tgif-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