summaryrefslogtreecommitdiff
path: root/t/unit-tests/u-oidtree.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-08-12 11:54:15 +0200
committerJunio C Hamano <gitster@pobox.com>2025-08-12 07:40:58 -0700
commit9077923c8ea83f7023c86c517f080396bf96dbb3 (patch)
tree5cc8aec991908af61bbfaaad2f59bdb6020c38fe /t/unit-tests/u-oidtree.c
parente813a0200a7121b97fec535f0d0b460b0a33356c (diff)
reftable/writer: fix type used for number of records
Both `reftable_writer_add_refs()` and `reftable_writer_add_logs()` accept an array of records that should be added to the new table. Callers of this function are expected to also pass the number of such records to the function to tell it how many such records it is supposed to write. But while all callers pass in a `size_t`, which is a sensible choice, the function in fact accepts an `int` as argument, which is less so. Fix this. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/u-oidtree.c')
0 files changed, 0 insertions, 0 deletions