diff options
author | László Csomor <laszlocsomor@google.com> | 2017-03-15 11:05:20 +0100 |
---|---|---|
committer | László Csomor <laszlocsomor@google.com> | 2017-03-15 16:45:31 +0100 |
commit | 39014167557d0eb2c2f140e9a48a753e1200e9c2 (patch) | |
tree | b9112e3fa13770cadfdab385fe536e477cc1c83e /third_party/grpc/BUILD | |
parent | eb46bedecfb54584905b800a493962351a4c0a51 (diff) |
gRPC, Windows: add missing #include and warning
Add a missing header inclusion to string_win32.c
which was resulting in an implicit function
declaration with the wrong, but compatible type,
causing a char* being converted to int, converted
to char*, corrupting the upper 32 bits, leading to
a segfault.
Fixes https://github.com/bazelbuild/bazel/issues/2672
Change-Id: I805737c93c248f792b2c0f54fe15ab9a261575d2
Diffstat (limited to 'third_party/grpc/BUILD')
-rw-r--r-- | third_party/grpc/BUILD | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/grpc/BUILD b/third_party/grpc/BUILD index deaefd0b2f..864d93cdb7 100644 --- a/third_party/grpc/BUILD +++ b/third_party/grpc/BUILD @@ -414,7 +414,7 @@ cc_library( ], copts = [ "-std=gnu99", - "-Wno-implicit-function-declaration", + "-Wimplicit-function-declaration", ], includes = [ ".", |