From 6a9453572533e4a22e6f60fe8f6b7ef0823d9c1f Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Mon, 16 Jan 2023 12:26:20 +0100 Subject: compute_pqueue_growth(): Fix the return type Reviewed-by: Matt Caswell Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/20012) --- ssl/priority_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssl') 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; -- cgit v1.2.3