aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2016-04-29 18:14:05 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2016-04-29 18:14:05 -0700
commit615da649926677bf00b165cb183d97233fcd46c8 (patch)
tree282a6582097f3dff1e75f98bac09ab3136a42e02 /src/core/ext
parent90b4a87d3ba78326d7ff523b3412684aa905670e (diff)
explicitly cast constant value to gpr_atm
Diffstat (limited to 'src/core/ext')
-rw-r--r--src/core/ext/client_config/subchannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/client_config/subchannel.c b/src/core/ext/client_config/subchannel.c
index 3a5af9f53d..bd45d3825c 100644
--- a/src/core/ext/client_config/subchannel.c
+++ b/src/core/ext/client_config/subchannel.c
@@ -268,7 +268,7 @@ static void disconnect(grpc_exec_ctx *exec_ctx, grpc_subchannel *c) {
con = GET_CONNECTED_SUBCHANNEL(c, no_barrier);
if (con != NULL) {
GRPC_CONNECTED_SUBCHANNEL_UNREF(exec_ctx, con, "connection");
- gpr_atm_no_barrier_store(&c->connected_subchannel, 0xdeadbeef);
+ gpr_atm_no_barrier_store(&c->connected_subchannel, (gpr_atm)0xdeadbeef);
}
gpr_mu_unlock(&c->mu);
}