Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ngtcp2_pkt_info.ecn of type uint8_t #877

Merged
merged 1 commit into from
Aug 2, 2023
Merged

Conversation

tatsuhiro-t
Copy link
Member

No description provided.

@tatsuhiro-t tatsuhiro-t added this to the v0.19.0 milestone Aug 1, 2023
@tatsuhiro-t tatsuhiro-t merged commit fa932d8 into main Aug 2, 2023
43 checks passed
@tatsuhiro-t tatsuhiro-t deleted the pktinfo-ecn-type branch August 2, 2023 08:17
vszakats added a commit to vszakats/curl that referenced this pull request Sep 4, 2023
ngtcp v0.19.0 made size of `ecn` member of `ngtcp2_pkt_info` an
`uint8_t` (was: `uint32_t`). Adjust our local cast accordingly.

Fixes:
```
./curl/lib/vquic/curl_ngtcp2.c:1912:12: warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
  pi.ecn = (uint32_t)ecn;
         ~ ^~~~~~~~~~~~~
```

Ref: ngtcp2/ngtcp2@8044728
Ref: ngtcp2/ngtcp2#877
Closes #xxxxx
vszakats added a commit to curl/curl that referenced this pull request Sep 5, 2023
ngtcp2 v0.19.0 made size of `ecn` member of `ngtcp2_pkt_info`
an `uint8_t` (was: `uint32_t`). Adjust our local cast accordingly.

Fixes:
```
./curl/lib/vquic/curl_ngtcp2.c:1912:12: warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
  pi.ecn = (uint32_t)ecn;
         ~ ^~~~~~~~~~~~~
```

Also bump ngtcp2, nghttp3 and nghttp2 to their latest versions in our
docs and CI.

Ref: ngtcp2/ngtcp2@8044728
Ref: ngtcp2/ngtcp2#877
Closes #11798
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
ngtcp2 v0.19.0 made size of `ecn` member of `ngtcp2_pkt_info`
an `uint8_t` (was: `uint32_t`). Adjust our local cast accordingly.

Fixes:
```
./curl/lib/vquic/curl_ngtcp2.c:1912:12: warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
  pi.ecn = (uint32_t)ecn;
         ~ ^~~~~~~~~~~~~
```

Also bump ngtcp2, nghttp3 and nghttp2 to their latest versions in our
docs and CI.

Ref: ngtcp2/ngtcp2@8044728
Ref: ngtcp2/ngtcp2#877
Closes curl#11798
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant