diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pqueue.c b/src/pqueue.c index 172cf43d5..54a60ca04 100644 --- a/src/pqueue.c +++ b/src/pqueue.c @@ -68,7 +68,7 @@ static void pqueue_down(git_pqueue *pq, size_t el) kid_el += 1; } - if (pq->_cmp(parent, kid) < 0) + if (pq->_cmp(parent, kid) <= 0) break; pq->contents[el] = kid; |