diff options
-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; |