Re: [Boost-bugs] [Boost C++ Libraries] #12333: boost/algorithm/hex.hpp: warning C4244: 'return': conversion from 'unsigned int' to 'unsigned char'

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12333: boost/algorithm/hex.hpp: warning C4244: 'return': conversion from 'unsigned int' to 'unsigned char'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-07-18 18:36:53


#12333: boost/algorithm/hex.hpp: warning C4244: 'return': conversion from 'unsigned
int' to 'unsigned char'
--------------------------------+-----------------------
  Reporter: pravic <ehysta@…> | Owner: marshall
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: algorithm
   Version: Boost 1.61.0 | Severity: Problem
Resolution: invalid | Keywords:
--------------------------------+-----------------------
Changes (by marshall):

 * status: new => closed
 * resolution: => invalid

Comment:

 We've been down this road before; the compiler is flat out wrong here.

 This function returns a value in the range 0 .. 255; there is no loss of
 data.

 Please report this bug against the MS compiler instead.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12333#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC