Add static_cast<uint8_t> in HpackVarintEncoderTest.

This is because Chromium's std::string is based on signed char, so without this
change tests fail since https://quiche-review.googlesource.com/c/quiche/+/6000.

I have verified locally that HpackVarintEncoderTest.Short and .LastByteIsZero fail on Chromium without this patch but they pass with.

gfe-relnote: n/a, test-only change.
PiperOrigin-RevId: 254955501
Change-Id: I9cf5413b1de05fec86698ef6cdab6662fa44ead4
1 file changed
tree: 19b42837e8f97338012526400b3279b215b16fc9
  1. common/
  2. epoll_server/
  3. http2/
  4. quic/
  5. spdy/
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
README.md

QUICHE

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.

The code is currently in process of being moved from https://cs.chromium.org/chromium/src/net/third_party/ into this repository. Please excuse our appearance while we're under construction.