aboutsummaryrefslogtreecommitdiffstats
path: root/reftable/system.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-01-28 13:02:24 -0800
committerJunio C Hamano <gitster@pobox.com>2025-01-28 13:02:24 -0800
commita17fd7dd3ada289df8e44e64ff52a5d886dfee95 (patch)
treebbc7b3f5eb263b1f40490bf896f38430e7f40c09 /reftable/system.h
parent73e055d71ea39c54e78b6e9a28ea0d8e7999a5cb (diff)
parent33319b0976ff9975e7509b6096887370146893f4 (diff)
downloadgit-a17fd7dd3ada289df8e44e64ff52a5d886dfee95.tar.gz
Merge branch 'ps/reftable-sign-compare'
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
Diffstat (limited to 'reftable/system.h')
-rw-r--r--reftable/system.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/reftable/system.h b/reftable/system.h
index 5274eca1d0..7d5f803eeb 100644
--- a/reftable/system.h
+++ b/reftable/system.h
@@ -11,8 +11,6 @@ https://developers.google.com/open-source/licenses/bsd
/* This header glues the reftable library to the rest of Git */
-#define DISABLE_SIGN_COMPARE_WARNINGS
-
#include "git-compat-util.h"
/*