fixed a type inconsistency: forced the result of get_nanoseconds() to
fixed a type inconsistency: forced the result of get_nanoseconds() to
double before the division by 1000.
Gbp-Pq: Name fix-numeric-type.patch
#ifdef BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
time_duration offset = seconds(get_secs() - ntp_offset) + nanoseconds(get_nanoseconds());
#else
- time_duration offset = seconds(get_secs() - ntp_offset) + microseconds(get_nanoseconds()/1000);
+ time_duration offset = seconds(get_secs() - ntp_offset) + microseconds((long) get_nanoseconds()/1000);
#endif
return ptime(base, offset);
}