Skip to content

Commit 3522db6

Browse files
committed
Merge branch '0.6-devel' of git://github.com/mikhailberis/cpp-netlib into 0.6-devel
2 parents 113fc21 + 12c62f7 commit 3522db6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boost/network/uri/http/uri.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace boost { namespace network { namespace uri {
2525
basic_uri() : uri_base<tags::http_default_8bit_tcp_resolve>() {}
2626
basic_uri(uri_base<tags::http_default_8bit_tcp_resolve>::string_type const & uri) : uri_base<tags::http_default_8bit_tcp_resolve>(uri) {}
2727

28-
boost::uint32_t port() const {
28+
boost::uint16_t port() const {
2929
return parts_.port ? *(parts_.port) :
3030
(boost::iequals(parts_.scheme, string_type("https")) ? 443u : 80u);
3131
}
@@ -36,7 +36,7 @@ namespace boost { namespace network { namespace uri {
3636
};
3737

3838
inline
39-
boost::uint32_t
39+
boost::uint16_t
4040
port(basic_uri<tags::http_default_8bit_tcp_resolve> const & uri) {
4141
return uri.port();
4242
}

0 commit comments

Comments
 (0)