diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-12-27 11:46:27 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-12-27 08:11:46 -0800 |
commit | 1ab5948141e62b52bcb812b04a901b3efaf1b578 (patch) | |
tree | 781b16ec10e4fd1340290242c6c52548824736df /shallow.c | |
parent | 0905ed201a87bc97dc4d47c0cb8fd65316f33269 (diff) |
builtin/log: fix remaining -Wsign-compare warnings
Fix remaining -Wsign-compare warnings in "builtin/log.c" and mark the
file as -Wsign-compare-clean. While most of the fixes are obvious, one
fix requires us to use `cast_size_t_to_int()`, which will cause us to
die in case the `size_t` cannot be represented as `int`. This should be
fine though, as the data would typically be set either via a config key
or via the command line, neither of which should ever exceed a couple of
kilobytes of data.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'shallow.c')
0 files changed, 0 insertions, 0 deletions