aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/filters/client_channel/client_channel_plugin.c
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-09-22 15:24:44 -0700
committerGravatar Muxi Yan <mxyan@google.com>2017-09-22 15:24:44 -0700
commitf7d8860f4ff688e966159f31e2c281a22e2aa3f4 (patch)
tree9367583b04c0e9464c6f091d699dfc64ba63a7f8 /src/core/ext/filters/client_channel/client_channel_plugin.c
parent76e0c1ddd536342bdc5059209da38d5406c7e717 (diff)
parent31c66c576ad00504b34182340f8ff21bc3f447fb (diff)
Merge remote-tracking branch 'upstream/master' into fix-stream-compression-eos
Diffstat (limited to 'src/core/ext/filters/client_channel/client_channel_plugin.c')
-rw-r--r--src/core/ext/filters/client_channel/client_channel_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ext/filters/client_channel/client_channel_plugin.c b/src/core/ext/filters/client_channel/client_channel_plugin.c
index c32e83d012..1f71c5a7f9 100644
--- a/src/core/ext/filters/client_channel/client_channel_plugin.c
+++ b/src/core/ext/filters/client_channel/client_channel_plugin.c
@@ -54,8 +54,8 @@ static bool set_default_host_if_unset(grpc_exec_ctx *exec_ctx,
char *default_authority = grpc_get_default_authority(
exec_ctx, grpc_channel_stack_builder_get_target(builder));
if (default_authority != NULL) {
- grpc_arg arg = grpc_channel_arg_string_create(GRPC_ARG_DEFAULT_AUTHORITY,
- default_authority);
+ grpc_arg arg = grpc_channel_arg_string_create(
+ (char *)GRPC_ARG_DEFAULT_AUTHORITY, default_authority);
grpc_channel_args *new_args = grpc_channel_args_copy_and_add(args, &arg, 1);
grpc_channel_stack_builder_set_channel_arguments(exec_ctx, builder,
new_args);