]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/reftable-sign-compare'
authorJunio C Hamano <gitster@pobox.com>
Tue, 28 Jan 2025 21:02:24 +0000 (13:02 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Jan 2025 21:02:24 +0000 (13:02 -0800)
The reftable/ library code has been made -Wsign-compare clean.

* ps/reftable-sign-compare:
  reftable: address trivial -Wsign-compare warnings
  reftable/blocksource: adjust `read_block()` to return `ssize_t`
  reftable/blocksource: adjust type of the block length
  reftable/block: adjust type of the restart length
  reftable/block: adapt header and footer size to return a `size_t`
  reftable/basics: adjust `hash_size()` to return `uint32_t`
  reftable/basics: adjust `common_prefix_size()` to return `size_t`
  reftable/record: handle overflows when decoding varints
  reftable/record: drop unused `print` function pointer
  meson: stop disabling -Wsign-compare

1  2 
meson.build
reftable/stack.c
t/unit-tests/t-reftable-readwrite.c

diff --cc meson.build
Simple merge
Simple merge
Simple merge