[Xorp-hackers] [PATCH] Support for IEEE754 binary64 format in XRLs

Steven Simpson ss at comp.lancs.ac.uk
Tue Sep 13 09:21:43 PDT 2011


On 13/09/11 17:14, Ben Greear wrote:
> ./libxipc/xrl_atom.hh: In constructor ‘XrlAtom::XrlAtom(const 
> fp64_t&)’:
> ./libxipc/xrl_atom.hh:336: warning: converting to ‘uint64_t’ from 
> ‘const double’

D'oh!

     // fp64 constructors
     explicit XrlAtom(const fp64_t&  value)
	: _type(xrlatom_fp64), _have_data(true), _own(true), _u64val(value) {}

That _u64val should, of course, be _fp64val!

Sorry!



More information about the Xorp-hackers mailing list