diff options
Diffstat (limited to 'lib/nghttp2_stream.c')
-rw-r--r-- | lib/nghttp2_stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |