summaryrefslogtreecommitdiffstats
path: root/net/socket/tcp_client_socket_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/tcp_client_socket_win.cc')
-rw-r--r--net/socket/tcp_client_socket_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket/tcp_client_socket_win.cc b/net/socket/tcp_client_socket_win.cc
index c663992..7c6f41d 100644
--- a/net/socket/tcp_client_socket_win.cc
+++ b/net/socket/tcp_client_socket_win.cc
@@ -508,7 +508,7 @@ int TCPClientSocketWin::Read(IOBuffer* buf,
core_->read_buffer_.buf = buf->data();
// TODO(wtc): Remove the CHECK after enough testing.
- CHECK_EQ(static_cast<DWORD>(WAIT_TIMEOUT),
+ CHECK_EQ(WAIT_TIMEOUT,
WaitForSingleObject(core_->read_overlapped_.hEvent, 0));
DWORD num, flags = 0;
int rv = WSARecv(socket_, &core_->read_buffer_, 1, &num, &flags,
@@ -558,7 +558,7 @@ int TCPClientSocketWin::Write(IOBuffer* buf,
core_->write_buffer_length_ = buf_len;
// TODO(wtc): Remove the CHECK after enough testing.
- CHECK_EQ(static_cast<DWORD>(WAIT_TIMEOUT),
+ CHECK_EQ(WAIT_TIMEOUT,
WaitForSingleObject(core_->write_overlapped_.hEvent, 0));
DWORD num;
int rv = WSASend(socket_, &core_->write_buffer_, 1, &num, 0,