diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-01-16 16:35:14 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-01-16 16:35:14 -0800 |
| commit | 564b907c8a39ac6e6f8aecc6b2a1c125d41ada66 (patch) | |
| tree | a491394905500adf1c0b34fae881a8fb08033628 /commit.h | |
| parent | Merge branch 'ps/object-collision-check' (diff) | |
| parent | sign-compare: avoid comparing ptrdiff with an int/unsigned (diff) | |
| download | git-564b907c8a39ac6e6f8aecc6b2a1c125d41ada66.tar.gz git-564b907c8a39ac6e6f8aecc6b2a1c125d41ada66.zip | |
Merge branch 'ps/more-sign-compare'
More -Wsign-compare fixes.
* ps/more-sign-compare:
sign-compare: avoid comparing ptrdiff with an int/unsigned
commit-reach: use `size_t` to track indices when computing merge bases
shallow: fix -Wsign-compare warnings
builtin/log: fix remaining -Wsign-compare warnings
builtin/log: use `size_t` to track indices
commit-reach: use `size_t` to track indices in `get_reachable_subset()`
commit-reach: use `size_t` to track indices in `remove_redundant()`
commit-reach: fix type of `min_commit_date`
commit-reach: fix index used to loop through unsigned integer
prio-queue: fix type of `insertion_ctr`
Diffstat (limited to 'commit.h')
| -rw-r--r-- | commit.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -210,7 +210,7 @@ struct commit *pop_most_recent_commit(struct commit_list **list, struct commit *pop_commit(struct commit_list **stack); void clear_commit_marks(struct commit *commit, unsigned int mark); -void clear_commit_marks_many(int nr, struct commit **commit, unsigned int mark); +void clear_commit_marks_many(size_t nr, struct commit **commit, unsigned int mark); enum rev_sort_order { |
