diff options
author | wkubiak <wojtek@pineapple.works> | 2015-04-27 15:38:44 +0200 |
---|---|---|
committer | wkubiak <wojtek@pineapple.works> | 2015-04-27 15:38:44 +0200 |
commit | 0d20f42c933902aadf4f56ebd8747ff5d70327c1 (patch) | |
tree | ef7baa3d3ace893f479711f67f51f8fa8f5e71e5 /src/core/iomgr | |
parent | 49185a8f7865ff62f64338bfec944f31534842ae (diff) |
fix comparison between pointer and integer error
Diffstat (limited to 'src/core/iomgr')
-rw-r--r-- | src/core/iomgr/tcp_server_windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/iomgr/tcp_server_windows.c b/src/core/iomgr/tcp_server_windows.c index 6e10da97cc..fe92846a71 100644 --- a/src/core/iomgr/tcp_server_windows.c +++ b/src/core/iomgr/tcp_server_windows.c @@ -192,7 +192,7 @@ static void start_accept(server_port *port) { } /* TODO(jtattermusch): probably a race here, we regularly get use-after-free on server shutdown */ - GPR_ASSERT(port->socket != 0xfeeefeee); + GPR_ASSERT(port->socket != (grpc_winsocket*)0xfeeefeee); success = port->AcceptEx(port->socket->socket, sock, port->addresses, 0, addrlen, addrlen, &bytes_received, &port->socket->read_info.overlapped); |