Index: net/base/ip_endpoint.h |
diff --git a/net/base/ip_endpoint.h b/net/base/ip_endpoint.h |
index 5e5d9c19684e63a27959ee8cdd85eb5d9a202bc9..c2639b161d6f41dac152be0e7007afb484c5d4c9 100644 |
--- a/net/base/ip_endpoint.h |
+++ b/net/base/ip_endpoint.h |
@@ -24,11 +24,11 @@ class NET_EXPORT IPEndPoint { |
public: |
IPEndPoint(); |
~IPEndPoint(); |
- IPEndPoint(const IPAddressNumber& address, int port); |
+ IPEndPoint(const IPAddressNumber& address, uint16 port); |
IPEndPoint(const IPEndPoint& endpoint); |
const IPAddressNumber& address() const { return address_; } |
- int port() const { return port_; } |
+ uint16 port() const { return port_; } |
// Returns AddressFamily of the address. |
AddressFamily GetFamily() const; |
@@ -66,7 +66,7 @@ class NET_EXPORT IPEndPoint { |
private: |
IPAddressNumber address_; |
- int port_; |
+ uint16 port_; |
}; |
} // namespace net |