diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-03-04 11:48:47 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-03-04 10:19:30 -0800 |
| commit | 5c11529c665fa2c206c00781ddf8710c4000cbda (patch) | |
| tree | 92aa597ffcdc49bcca7bed486dd788807ea0739b /builtin/commit.c | |
| parent | Start the 2.45 cycle (diff) | |
| download | git-5c11529c665fa2c206c00781ddf8710c4000cbda.tar.gz git-5c11529c665fa2c206c00781ddf8710c4000cbda.zip | |
reftable/pq: use `size_t` to track iterator index
The reftable priority queue is used by the merged iterator to yield
records from its sub-iterators in the expected order. Each entry has a
record corresponding to such a sub-iterator as well as an index that
indicates which sub-iterator the record belongs to. But while the
sub-iterators are tracked with a `size_t`, we store the index as an
`int` in the entry.
Fix this and use `size_t` consistently.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
