diff options
author | Yuchen Zeng <y-zeng@users.noreply.github.com> | 2016-05-02 16:03:10 -0700 |
---|---|---|
committer | Yuchen Zeng <y-zeng@users.noreply.github.com> | 2016-05-02 16:03:10 -0700 |
commit | 1a7adfb120a165731c145373dbd3c5302b304ee3 (patch) | |
tree | f0e78a6294f4314eb91b69cfaadb249c0e4b7a20 /src | |
parent | a0d1529f6b58cab58917faf9488e6342729a70cb (diff) | |
parent | 615da649926677bf00b165cb183d97233fcd46c8 (diff) |
Merge pull request #6394 from y-zeng/fix-5557
Explicitly cast constant value to gpr_atm
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ext/client_config/subchannel.c | 2 |
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); } |