diff options
author | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-25 21:14:16 +0000 |
---|---|---|
committer | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-25 21:14:16 +0000 |
commit | 2a8132263c53c361e4a7618af889492407dbb8e2 (patch) | |
tree | 854602872e99e1ec2d9f49cbd5b8f8509795a08f /net | |
parent | b50f90ea9705c5564b0272fd1089aff72ae9b78f (diff) | |
download | chromium_src-2a8132263c53c361e4a7618af889492407dbb8e2.zip chromium_src-2a8132263c53c361e4a7618af889492407dbb8e2.tar.gz chromium_src-2a8132263c53c361e4a7618af889492407dbb8e2.tar.bz2 |
Missed a file as part of checkin for r48186
BUG=44471
TEST=none
Review URL: http://codereview.chromium.org/2197001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48196 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/socket/tcp_client_socket_win.cc | 4 |
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 7c6f41d..c663992 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(WAIT_TIMEOUT, + CHECK_EQ(static_cast<DWORD>(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(WAIT_TIMEOUT, + CHECK_EQ(static_cast<DWORD>(WAIT_TIMEOUT), WaitForSingleObject(core_->write_overlapped_.hEvent, 0)); DWORD num; int rv = WSASend(socket_, &core_->write_buffer_, 1, &num, 0, |