Index: net/socket/transport_client_socket_unittest.cc |
diff --git a/net/socket/transport_client_socket_unittest.cc b/net/socket/transport_client_socket_unittest.cc |
index d01cbad6dc8dd8f680955bb9cd223251a0697fc5..e4e060a0279e276ecb4bdb96c31a25e52a2faac9 100644 |
--- a/net/socket/transport_client_socket_unittest.cc |
+++ b/net/socket/transport_client_socket_unittest.cc |
@@ -89,7 +89,7 @@ class TransportClientSocketTest |
} |
protected: |
- int listen_port_; |
+ uint16 listen_port_; |
CapturingNetLog net_log_; |
ClientSocketFactory* const socket_factory_; |
scoped_ptr<StreamSocket> sock_; |
@@ -105,10 +105,10 @@ void TransportClientSocketTest::SetUp() { |
// Find a free port to listen on |
scoped_ptr<TCPListenSocket> sock; |
- int port; |
+ uint16 port; |
// Range of ports to listen on. Shouldn't need to try many. |
- const int kMinPort = 10100; |
- const int kMaxPort = 10200; |
+ const uint16 kMinPort = 10100; |
+ const uint16 kMaxPort = 10200; |
#if defined(OS_WIN) |
EnsureWinsockInit(); |
#endif |