diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2025-03-10 19:42:22 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2025-03-10 19:56:23 +0300 |
commit | fc6cd7d48282fba73b60215b3fd31fc0a8825982 (patch) | |
tree | bcb36b06098e700fd726b6b19c89e6fae7d429e2 /contrib/libs/ngtcp2/lib/ngtcp2_map.c | |
parent | 21c1cc59ef7d0910313ef39ca737c78380ef3ec3 (diff) | |
download | ydb-fc6cd7d48282fba73b60215b3fd31fc0a8825982.tar.gz |
Update contrib/libs/ngtcp2 to 1.11.0
commit_hash:3beea54841aa142a4af33f802d5bdb7d6010b68d
Diffstat (limited to 'contrib/libs/ngtcp2/lib/ngtcp2_map.c')
-rw-r--r-- | contrib/libs/ngtcp2/lib/ngtcp2_map.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/libs/ngtcp2/lib/ngtcp2_map.c b/contrib/libs/ngtcp2/lib/ngtcp2_map.c index 0b66fceac6..5e4726e63f 100644 --- a/contrib/libs/ngtcp2/lib/ngtcp2_map.c +++ b/contrib/libs/ngtcp2/lib/ngtcp2_map.c @@ -119,7 +119,11 @@ void ngtcp2_map_print_distance(const ngtcp2_map *map) { static int insert(ngtcp2_map_bucket *table, size_t hashbits, ngtcp2_map_key_type key, void *data) { size_t idx = hash(key, hashbits); - ngtcp2_map_bucket b = {0, key, data}, *bkt; + ngtcp2_map_bucket b = { + .key = key, + .data = data, + }; + ngtcp2_map_bucket *bkt; size_t mask = (1u << hashbits) - 1; for (;;) { |