Skip to content

Commit

Permalink
quiche: patch for MacOS build (#19360)
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Nino <jnino@lyft.com>
  • Loading branch information
junr03 authored Dec 28, 2021
1 parent bc63d2c commit 8a75ac1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bazel/external/quiche.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This patch is needed for compilation with MacOS toolchains.
--- http2/adapter/oghttp2_session.cc
+++ http2/adapter/oghttp2_session.cc
@@ -427,7 +427,7 @@ OgHttp2Session::ProcessBytesImpl(absl::string_view bytes) {
if (!remaining_preface_.empty()) {
QUICHE_VLOG(2) << "Preface bytes remaining: "
<< remaining_preface_.size();
- return min_size;
+ return static_cast<int64_t>(min_size);
}
preface_consumed = min_size;
}

0 comments on commit 8a75ac1

Please sign in to comment.