From e0d38508fc8b6bc3915b2235a85a068eacfb87bf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 11 Jun 2024 18:46:31 +0200 Subject: Merging upstream version 1.62.1. Signed-off-by: Daniel Baumann --- lib/nghttp2_stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/nghttp2_stream.c') diff --git a/lib/nghttp2_stream.c b/lib/nghttp2_stream.c index f1951f8..bf8b8c3 100644 --- a/lib/nghttp2_stream.c +++ b/lib/nghttp2_stream.c @@ -312,7 +312,7 @@ int32_t nghttp2_stream_dep_distributed_weight(nghttp2_stream *stream, int32_t weight) { weight = stream->weight * weight / stream->sum_dep_weight; - return nghttp2_max(1, weight); + return nghttp2_max_int32(1, weight); } #ifdef STREAM_DEP_DEBUG -- cgit v1.2.3