summaryrefslogtreecommitdiff
path: root/builtin/notes.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-03-23 17:13:05 +0800
committerJunio C Hamano <gitster@pobox.com>2022-03-23 11:38:39 -0700
commit132ceda40f5fe6e53ff7189a941f7e77a165cb7e (patch)
tree01924e311c4a4508e782d0a278a7d74d467a86b1 /builtin/notes.c
parent26f6d4d5a015ae95b0818140b6edf297e78e4e67 (diff)
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 'builtin/notes.c')
0 files changed, 0 insertions, 0 deletions