Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Unified Diff: net/socket/tcp_client_socket_win.cc

Issue 2222002: Unsigned warning fix - take 2 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/network_change_notifier_win.cc ('k') | net/tools/dump_cache/cache_dumper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/tcp_client_socket_win.cc
===================================================================
--- net/socket/tcp_client_socket_win.cc (revision 48256)
+++ net/socket/tcp_client_socket_win.cc (working copy)
@@ -508,7 +508,7 @@
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 @@
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,
« no previous file with comments | « net/base/network_change_notifier_win.cc ('k') | net/tools/dump_cache/cache_dumper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698