| commit | 1243d149246c9a92dd8732ed123be203a76ab14d | [log] [tgz] |
|---|---|---|
| author | QUICHE team <quiche-dev@google.com> | Thu Mar 21 13:02:02 2019 -0700 |
| committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 21 14:28:16 2019 -0700 |
| tree | 1d05dd2f03ab02037c99d89c2c52fc045cda5498 | |
| parent | 2d5d23451eb59d6fe2e558c6cd855510e1ea77e0 [diff] |
Fix a warning in the QUIC build
Previously:
./base/internal/logging.h:351:32: warning: comparison of integers of different signs: 'const int' and 'const unsigned long' [-Wsign-compare]
DEFINE_CHECK_OP_IMPL(Check_GE, >=)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
./base/internal/logging.h:338:30: note: expanded from macro 'DEFINE_CHECK_OP_IMPL'
if (ABSL_PREDICT_TRUE(v1 op v2)) \
~~ ^ ~~
./third_party/absl/base/optimization.h:182:51: note: expanded from macro 'ABSL_PREDICT_TRUE'
#define ABSL_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
^
third_party/quic/core/quic_session.cc:1260:3: note: in instantiation of function template specialization 'Check_GEImpl<int, unsigned long>' requested here
DCHECK_GE(dynamic_stream_map_.size() + pending_stream_map_.size(),
gfe-relnote: n/a Warning fix, no functional change.
PiperOrigin-RevId: 239654830
Change-Id: I29f1793a4f328f7aac8ff5372eb156f9fcb9fd1a
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.