Boost logo

Boost Users :

From: Daniel Krügler (dsp_at_[hidden])
Date: 2005-08-26 08:07:39


The streaming inserter of Boost archive's dinkumware.hpp for
boost::int64_t causes indefinite recursion in case of negative
arguments. I think the following line inside the else clause should be
changed from

os << -t;

to

os << static_cast<boost::uint64_t>(-t);

Greetings from Bremen,

Daniel


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net