diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-12-23 09:32:20 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-12-23 09:32:21 -0800 |
| commit | 8650022fab49afa46cd63cdee7aa7625240abdb4 (patch) | |
| tree | 4f1b4f19ae86b0ad708f85b977ecf07f4947d02b /prio-queue.h | |
| parent | 77825f755300f5ef84729b55e6e1e33e1dc60039 (diff) | |
| parent | 62e745ced221263717d86d1d50ffcaa029d63c4c (diff) | |
| download | git-8650022fab49afa46cd63cdee7aa7625240abdb4.tar.gz | |
Merge branch 'jk/prio-queue-sign-compare-fix'
Type clean-up.
* jk/prio-queue-sign-compare-fix:
prio-queue: use size_t rather than int for size
Diffstat (limited to 'prio-queue.h')
| -rw-r--r-- | prio-queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prio-queue.h b/prio-queue.h index 4f9a37e6be..36f370625f 100644 --- a/prio-queue.h +++ b/prio-queue.h @@ -30,7 +30,7 @@ struct prio_queue { prio_queue_compare_fn compare; unsigned insertion_ctr; void *cb_data; - int alloc, nr; + size_t alloc, nr; struct prio_queue_entry *array; }; |
