|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r67267 - sandbox/conversion/boost/conversion/boost
From: vicente.botet_at_[hidden]
Date: 2010-12-16 01:49:37
Author: viboes
Date: 2010-12-16 01:49:36 EST (Thu, 16 Dec 2010)
New Revision: 67267
URL: http://svn.boost.org/trac/boost/changeset/67267
Log:
Conversion
Text files modified:
sandbox/conversion/boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: sandbox/conversion/boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp (original)
+++ sandbox/conversion/boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp 2010-12-16 01:49:36 EST (Thu, 16 Dec 2010)
@@ -56,7 +56,7 @@
{
posix_time::time_duration const time_since_epoch=from-posix_time::from_time_t(0);
chrono::time_point<Clock, Duration> t=chrono::system_clock::from_time_t(time_since_epoch.total_seconds());
- long nsec=time_since_epoch.fractional_seconds()*(1000000000/time_since_epoch.ticks_per_second());
+ long long nsec=time_since_epoch.fractional_seconds()*(1000000000/time_since_epoch.ticks_per_second());
return t+chrono::duration_cast<Duration>(chrono::nanoseconds(nsec));
}
};
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk