reftable/stack: use `size_t` to track stack slices during compaction
commit47616c4399d958b8a9f40b1ad70071d2e3c56126
authorPatrick Steinhardt <ps@pks.im>
Tue, 6 Feb 2024 06:35:41 +0000 (6 07:35 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Feb 2024 20:10:08 +0000 (6 12:10 -0800)
tree04f5262bd6ed67ed1abcdfda7f355094a0696eff
parent6d5e80fba2397708671cee6d9c5e394c4c187659
reftable/stack: use `size_t` to track stack slices during compaction

We use `int`s to track reftable slices when compacting the reftable
stack, which is considered to be a code smell in the Git project.
Convert the code to use `size_t` instead.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/stack.c