diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-14 16:17:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-14 16:17:59 +0000 |
commit | 6dcba6bb2c8f8d96093d0942bb59dece22fdf7ac (patch) | |
tree | 5026d1469491de46164ebbc74dac1f7ba5b3cb08 /src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_cc.c | |
parent | Releasing progress-linux version 3.3.5-1.1~progress7.99u1. (diff) | |
download | knot-6dcba6bb2c8f8d96093d0942bb59dece22fdf7ac.tar.xz knot-6dcba6bb2c8f8d96093d0942bb59dece22fdf7ac.zip |
Merging upstream version 3.3.6.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_cc.c')
-rw-r--r-- | src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_cc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_cc.c b/src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_cc.c index 9ad37fb..bade016 100644 --- a/src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_cc.c +++ b/src/contrib/libngtcp2/ngtcp2/lib/ngtcp2_cc.c @@ -41,7 +41,7 @@ uint64_t ngtcp2_cc_compute_initcwnd(size_t max_udp_payload_size) { uint64_t n = 2 * max_udp_payload_size; n = ngtcp2_max(n, 14720); - return ngtcp2_min(10 * max_udp_payload_size, n); + return ngtcp2_min_uint64(10 * max_udp_payload_size, n); } ngtcp2_cc_pkt *ngtcp2_cc_pkt_init(ngtcp2_cc_pkt *pkt, int64_t pkt_num, |