diff options
author | Patrick Steinhardt <ps@pks.im> | 2025-01-20 17:17:25 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-01-21 14:20:30 -0800 |
commit | b1e4b6f4dc27481e8c07acc2e7629ae206d25f6c (patch) | |
tree | 3778e007fb96dec24aaa4c233c2f170ccb4f2b33 /builtin/commit.c | |
parent | ffe664366890f252ad14e87c987c57e080182bca (diff) |
reftable/block: adjust type of the restart length
The restart length is tracked as a positive integer even though it
cannot ever be negative. Furthermore, it is effectively capped via the
MAX_RESTARTS variable.
Adjust the type of the variable to be `uint32_t`. While this type is
excessive given that MAX_RESTARTS fits into an `uint16_t`, other places
already use 32 bit integers for restarts, so this type is being more
consistent.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions