commit | 800bfde98dc4b22e40e596778777661e68013710 | [log] [tgz] |
---|---|---|
author | danzh <danzh@google.com> | Thu Feb 20 08:26:23 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Feb 20 08:27:01 2020 -0800 |
tree | f3c3e73aefdb5016970e100d69277f3af91d5b43 | |
parent | 40f0b3d8e3c3e86636f0299ec3b2340446965700 [diff] |
gfe-relnote: n/a(test only) fix a GCC complier error in QUIC test utils. Not protected. The type limit error is reported in https://github.com/envoyproxy/envoy/pull/10040#issuecomment-588443476 This also fixes the representation of DEL 0x7f to be '.' PiperOrigin-RevId: 296214588 Change-Id: I94c01491879aa8d776a2ed09a9a6fbce93f73579
diff --git a/common/test_tools/quiche_test_utils.cc b/common/test_tools/quiche_test_utils.cc index 0a84635..9bbd44d 100644 --- a/common/test_tools/quiche_test_utils.cc +++ b/common/test_tools/quiche_test_utils.cc
@@ -43,7 +43,7 @@ hex = hex + " "; for (const char* p = row; p < row + 4 && p < row + length; ++p) { - hex += (*p >= 0x20 && *p <= 0x7f) ? (*p) : '.'; + hex += (*p >= 0x20 && *p < 0x7f) ? (*p) : '.'; } hex = hex + '\n';