]> Kevux Git Server - rit/commit
reftable/blocksource: adjust type of the block length
authorPatrick Steinhardt <ps@pks.im>
Mon, 20 Jan 2025 16:17:26 +0000 (17:17 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Jan 2025 22:20:30 +0000 (14:20 -0800)
commit1f054af72f509f1247687b91a360961b5d930869
tree48ab62bae6ade91be386703d618241ce1fdd6923
parentb1e4b6f4dc27481e8c07acc2e7629ae206d25f6c
reftable/blocksource: adjust type of the block length

The block length is used to track the number of bytes available in a
specific block. As such, it is never set to a negative value, but is
still represented by a signed integer.

Adjust the type of the variable to be `size_t`.

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