From: Tomas Mraz Date: Mon, 16 Jan 2023 11:26:20 +0000 (+0100) Subject: compute_pqueue_growth(): Fix the return type X-Git-Tag: openssl-3.2.0-alpha1~1366 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a9453572533e4a22e6f60fe8f6b7ef0823d9c1f;p=thirdparty%2Fopenssl.git compute_pqueue_growth(): Fix the return type Reviewed-by: Matt Caswell Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/20012) --- diff --git a/ssl/priority_queue.c b/ssl/priority_queue.c index 67e85df73fb..3caf7e24f9c 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;