diff --git a/bazel/external/quiche.patch b/bazel/external/quiche.patch index e69de29bb2d1..9d3190f47937 100644 --- a/bazel/external/quiche.patch +++ b/bazel/external/quiche.patch @@ -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(min_size); + } + preface_consumed = min_size; + }