Browse Source

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)
Tomas Mraz 1 year ago
parent
commit
6a94535725
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ssl/priority_queue.c

+ 1 - 1
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;