1
0
mirror of https://github.com/git/git.git synced 2024-10-21 05:48:38 +02:00
git/reftable
Ævar Arnfjörð Bjarmason 22d2f70e85 reftable tests: avoid "int" overflow, use "uint64_t"
Change code added in 1ae2b8cda84 (reftable: add merged table view,
2021-10-07) to consistently use the "uint64_t" type. These "min" and
"max" variables get passed in the body of this function to a function
whose prototype is:

    [...] reftable_writer_set_limits([...], uint64_t min, uint64_t max

This avoids the following warning on SunCC 12.5 on
gcc211.fsffrance.org:

    "reftable/merged_test.c", line 27: warning: initializer does not fit or is out of range: 0xffffffff

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-01-13 13:39:09 -08:00
..
basics_test.c
basics.c
basics.h
block_test.c
block.c
block.h
blocksource.c
blocksource.h
constants.h
dump.c
error.c
generic.c
generic.h
iter.c
iter.h
LICENSE
merged_test.c reftable tests: avoid "int" overflow, use "uint64_t" 2022-01-13 13:39:09 -08:00
merged.c
merged.h
pq_test.c
pq.c
pq.h
publicbasics.c
reader.c
reader.h
readwrite_test.c
record_test.c
record.c
record.h
refname_test.c
refname.c
refname.h
reftable-blocksource.h
reftable-error.h
reftable-generic.h
reftable-iterator.h
reftable-malloc.h
reftable-merged.h
reftable-reader.h
reftable-record.h
reftable-stack.h
reftable-tests.h
reftable-writer.h reftable: support preset file mode for writing 2021-12-23 12:28:36 -08:00
reftable.c
stack_test.c reftable: support preset file mode for writing 2021-12-23 12:28:36 -08:00
stack.c reftable: support preset file mode for writing 2021-12-23 12:28:36 -08:00
stack.h
system.h
test_framework.c
test_framework.h
tree_test.c
tree.c
tree.h
writer.c
writer.h