forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
grpc.patch
39 lines (37 loc) · 1.21 KB
/
grpc.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
diff --git a/BUILD b/BUILD
index 06b69411a8..05cd878ae8 100644
--- a/BUILD
+++ b/BUILD
@@ -29,7 +29,7 @@ licenses(["reciprocal"])
package(
default_visibility = ["//visibility:public"],
features = [
- "layering_check",
+ "-layering_check",
"-parse_headers",
],
)
diff --git a/src/core/BUILD b/src/core/BUILD
index 1bb970e049..81265483e9 100644
--- a/src/core/BUILD
+++ b/src/core/BUILD
@@ -24,7 +24,7 @@ licenses(["reciprocal"])
package(
default_visibility = ["//:__subpackages__"],
features = [
- "layering_check",
+ "-layering_check",
],
)
diff --git a/src/core/lib/channel/channel_args.h b/src/core/lib/channel/channel_args.h
index 38bb070213..b53086e680 100644
--- a/src/core/lib/channel/channel_args.h
+++ b/src/core/lib/channel/channel_args.h
@@ -284,7 +284,7 @@ class ChannelArgs {
class Value {
public:
- explicit Value(int n) : rep_(reinterpret_cast<void*>(n), &int_vtable_) {}
+ explicit Value(int n) : rep_(reinterpret_cast<void*>(static_cast<intptr_t>(n)), &int_vtable_) {}
explicit Value(std::string s)
: rep_(RefCountedString::Make(s).release(), &string_vtable_) {}
explicit Value(Pointer p) : rep_(std::move(p)) {}