diff options
author | arindam@chromium.org <arindam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 13:47:36 +0000 |
---|---|---|
committer | arindam@chromium.org <arindam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 13:47:36 +0000 |
commit | c6a2eb748ba6dd1f570cbac0b806faae450274c7 (patch) | |
tree | 037a4cb78ef98d81edb7263ad88451b2fe756de2 /net/socket/socks_client_socket.cc | |
parent | 5c100a2528534b15b78e0af059932c0250d704b3 (diff) | |
download | chromium_src-c6a2eb748ba6dd1f570cbac0b806faae450274c7.zip chromium_src-c6a2eb748ba6dd1f570cbac0b806faae450274c7.tar.gz chromium_src-c6a2eb748ba6dd1f570cbac0b806faae450274c7.tar.bz2 |
Fixing compilation warnings for r19354
TEST=none
BUG=none
TBR=eroman
Review URL: http://codereview.chromium.org/149074
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19356 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/socks_client_socket.cc')
-rw-r--r-- | net/socket/socks_client_socket.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/socks_client_socket.cc b/net/socket/socks_client_socket.cc index 0ccaeb6..ccedec0 100644 --- a/net/socket/socks_client_socket.cc +++ b/net/socket/socks_client_socket.cc @@ -299,7 +299,7 @@ int SOCKSClientSocket::DoHandshakeWriteComplete(int result) { if (bytes_sent_ == buffer_.size()) { next_state_ = STATE_HANDSHAKE_READ; buffer_.clear(); - } else if (bytes_sent_ < buffer_.size()) { + } else if (bytes_sent_ < static_cast<int>(buffer_.size())) { next_state_ = STATE_HANDSHAKE_WRITE; } else { return ERR_UNEXPECTED; |