diff options
author | Tomas Mraz <tomas@openssl.org> | 2023-01-16 12:26:20 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-01-27 16:11:38 +0100 |
commit | 6a9453572533e4a22e6f60fe8f6b7ef0823d9c1f (patch) | |
tree | d9cb63aa70b702f70afff3feab8aae4f05957ae2 /ssl | |
parent | 3a857b9532169b1ffaa739ba29cd67a5d93cbe8a (diff) |
compute_pqueue_growth(): Fix the return type
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20012)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/priority_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/priority_queue.c b/ssl/priority_queue.c index 67e85df73f..3caf7e24f9 100644 --- a/ssl/priority_queue.c +++ b/ssl/priority_queue.c @@ -85,7 +85,7 @@ static const size_t max_nodes = * * We use an expansion factor of 8 / 5 = 1.6 */ -static ossl_inline int compute_pqueue_growth(size_t target, size_t current) +static ossl_inline size_t compute_pqueue_growth(size_t target, size_t current) { int err = 0; |