Boost logo

Boost :

From: Vyacheslav E. Andrejev (vandrejev_at_[hidden])
Date: 2004-10-14 04:26:29

Hi there

I've found a minor bug in time_system_split.hpp. In the following code

      date_duration_type day_overflow(static_cast<int_type>(doff));

int_type is __int64 if BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG is on. But
date_duration_type contructor expects int_adaptor<long> instead. So
static_cast is useless here. I think, that right code should look like


Proposed patch's attached to this post.

Vyacheslav E. Andrejev
System Architect
Excelsior, LLC
E-mail: vandrejev_at_[hidden]
ICQ: 7152604

Boost list run by bdawes at, gregod at, cpdaniel at, john at