diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-12-04 07:12:35 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-12-04 07:12:35 -0800 |
commit | be11c5ca134c18a72cf27d5befc03f2cbb640eb6 (patch) | |
tree | 1750ec0966b7d65e6b5dcf95ba8eb9e9055453a1 | |
parent | 2c23ad57ed62aa2158ed0e8ff9d1910ab79e647b (diff) |
Add explicit casts to fix Windows build
-rw-r--r-- | src/core/channel/subchannel_call_holder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/channel/subchannel_call_holder.c b/src/core/channel/subchannel_call_holder.c index 1455cc0a24..f5da41f3cd 100644 --- a/src/core/channel/subchannel_call_holder.c +++ b/src/core/channel/subchannel_call_holder.c @@ -155,7 +155,7 @@ retry: holder->connected_subchannel != NULL) { gpr_atm_rel_store( &holder->subchannel_call, - grpc_connected_subchannel_create_call( + (gpr_atm)(gpr_uintptr)grpc_connected_subchannel_create_call( exec_ctx, holder->connected_subchannel, holder->pollset)); retry_waiting_locked(exec_ctx, holder); goto retry; @@ -180,7 +180,7 @@ static void subchannel_ready(grpc_exec_ctx *exec_ctx, void *arg, int success) { } else { gpr_atm_rel_store( &holder->subchannel_call, - grpc_connected_subchannel_create_call( + (gpr_atm)(gpr_uintptr)grpc_connected_subchannel_create_call( exec_ctx, holder->connected_subchannel, holder->pollset)); retry_waiting_locked(exec_ctx, holder); } |