Fix compilation under VS 2010

pull/2769/head
Jan Tattermusch 9 years ago
parent bee7b68b54
commit deab29e182
  1. 6
      src/core/iomgr/tcp_windows.c

@ -369,14 +369,16 @@ static grpc_endpoint_write_status win_write(grpc_endpoint *ep,
}
static void win_add_to_pollset(grpc_endpoint *ep, grpc_pollset *ps) {
grpc_tcp *tcp;
(void) ps;
grpc_tcp *tcp = (grpc_tcp *) ep;
tcp = (grpc_tcp *) ep;
grpc_iocp_add_socket(tcp->socket);
}
static void win_add_to_pollset_set(grpc_endpoint *ep, grpc_pollset_set *pss) {
grpc_tcp *tcp;
(void) pss;
grpc_tcp *tcp = (grpc_tcp *) ep;
tcp = (grpc_tcp *) ep;
grpc_iocp_add_socket(tcp->socket);
}

Loading…
Cancel
Save