Merge pull request #6394 from y-zeng/fix-5557

Explicitly cast constant value to gpr_atm
pull/6406/head
Yuchen Zeng 9 years ago
commit 1a7adfb120
  1. 2
      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);
}

Loading…
Cancel
Save