diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-01-11 17:40:23 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-13 13:39:09 -0800 |
commit | 22d2f70e85e767abba2e284e32c0edb7f749e29c (patch) | |
tree | 84d6d269a557b1e109af0a0ff3706e29756bd490 /t/t4013/diff.diff-tree_--pretty_--root_-p_initial | |
parent | reftable: avoid initializing structs from structs (diff) | |
download | tgif-22d2f70e85e767abba2e284e32c0edb7f749e29c.tar.xz |
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>
Diffstat (limited to 't/t4013/diff.diff-tree_--pretty_--root_-p_initial')
0 files changed, 0 insertions, 0 deletions