commit | 9af8ded05b54ded8e59e8eb9364bfa3fe552fefd | [log] [tgz] |
---|---|---|
author | bnc <bnc@google.com> | Wed Jun 09 10:06:42 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Jun 09 10:07:25 2021 -0700 |
tree | ed3eb0512fa5c057325dd152f97bb1036fce1ca4 | |
parent | 99552ade13516e2467d1ec6627522d71a1147b97 [diff] |
Fix -Wc++11-narrowing in quiche. char is a signed type and cannot hold values >=0x80, so storing these results in a warning. Instead, store runs of bytes as uint8_t, and explicitly cast to char* where needed. See https://crbug.com/1216696. This CL is generated from https://quiche-review.googlesource.com/c/quiche/+/10700. Unfortunately QUICHE currently does not accept external contributions directly. PiperOrigin-RevId: 378433199
QUICHE (QUIC, Http/2, Etc) is Google‘s implementation of QUIC and related protocols. It powers Chromium as well as Google’s QUIC servers and some other projects. QUICHE is only supported on little-endian platforms.
Code can be viewed in CodeSearch in Quiche and is imported into Chromium.