In boost/network/uri/http/uri_concept.hpp line 22, I get a warning about
conversion from a 32-bit to 16-bit integer

'initializing' : conversion from 'boost::uint32_t' to 'boost::uint16_t',
possible loss of data

Here's the offending line

uint16_t port_ = port(uri);

I'm not sure if it matters (probably doesn't) but if the truncation is
as designed we might consider making it explicit with a cast.

Thanks

Erik

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to