id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 10539,Type error in detail::socket_ops::host_to_network_short,Louis-Michel Veilleux ,chris_kohlhoff,"Type of '''result''' local variable should be '''u_short_type'''. Causes compilation warning C4244 with MSVC ( ""possible loss of data"" ). {{{ u_short_type host_to_network_short(u_short_type value) { #if defined(BOOST_ASIO_WINDOWS_RUNTIME) u_long_type result; unsigned char* result_p = reinterpret_cast(&result); result_p[0] = static_cast((value >> 8) & 0xFF); result_p[1] = static_cast(value & 0xFF); return result; #else // defined(BOOST_ASIO_WINDOWS_RUNTIME) return htons(value); #endif // defined(BOOST_ASIO_WINDOWS_RUNTIME) } }}} ",Bugs,new,To Be Determined,asio,Boost Release Branch,Optimization,,,