diff options
author | Yash Tibrewal <yashkt@google.com> | 2017-09-11 15:00:11 -0700 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2017-09-12 14:59:58 -0700 |
commit | 52778c4729ae4e59eadae3bb49728967f397eb6f (patch) | |
tree | ff7a26e01f62a729f0d97ad6481df3144ad45ae6 /src/core/lib/compression | |
parent | a06e5fdfb791d65946fe5f6123a3d7dc9f264912 (diff) |
Adding pointer conversions. Renaming a few variables and type names to avoid C++ compilation issues
Diffstat (limited to 'src/core/lib/compression')
-rw-r--r-- | src/core/lib/compression/stream_compression.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/compression/stream_compression.c b/src/core/lib/compression/stream_compression.c index df13d53e06..ba9302794f 100644 --- a/src/core/lib/compression/stream_compression.c +++ b/src/core/lib/compression/stream_compression.c @@ -159,7 +159,8 @@ bool grpc_stream_decompress(grpc_stream_compression_context *ctx, grpc_stream_compression_context *grpc_stream_compression_context_create( grpc_stream_compression_method method) { grpc_stream_compression_context *ctx = - gpr_zalloc(sizeof(grpc_stream_compression_context)); + (grpc_stream_compression_context *)gpr_zalloc( + sizeof(grpc_stream_compression_context)); int r; if (ctx == NULL) { return NULL; |