diff options
author | Muxi Yan <mxyan@google.com> | 2017-08-18 17:05:27 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2017-08-18 17:32:58 -0700 |
commit | da4f087ebee4085ef0eef938d45db72cc4f596df (patch) | |
tree | 3c4ba20e904f435ea4802866eb069ed12b1f6f71 /src | |
parent | d37411e71d99f44d36260540546e3973ccb4497e (diff) |
Fix minor build issue
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lib/surface/channel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/lib/surface/channel.c b/src/core/lib/surface/channel.c index 6886e57737..850fbe6a69 100644 --- a/src/core/lib/surface/channel.c +++ b/src/core/lib/surface/channel.c @@ -146,11 +146,11 @@ grpc_channel *grpc_channel_create_with_builder( channel->compression_options.default_stream_compression_level.is_set = true; channel->compression_options.default_stream_compression_level.level = - (grpc_compression_level)grpc_channel_arg_get_integer( + (grpc_stream_compression_level)grpc_channel_arg_get_integer( &args->args[i], - (grpc_integer_options){GRPC_COMPRESS_LEVEL_NONE, - GRPC_COMPRESS_LEVEL_NONE, - GRPC_COMPRESS_LEVEL_COUNT - 1}); + (grpc_integer_options){GRPC_STREAM_COMPRESS_LEVEL_NONE, + GRPC_STREAM_COMPRESS_LEVEL_NONE, + GRPC_STREAM_COMPRESS_LEVEL_COUNT - 1}); } else if (0 == strcmp(args->args[i].key, GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM)) { channel->compression_options.default_algorithm.is_set = true; |