|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53627 - trunk/boost/date_time
From: andrey.semashev_at_[hidden]
Date: 2009-06-04 07:35:44
Author: andysem
Date: 2009-06-04 07:35:44 EDT (Thu, 04 Jun 2009)
New Revision: 53627
URL: http://svn.boost.org/trac/boost/changeset/53627
Log:
Fixes #3105.
Text files modified:
trunk/boost/date_time/microsec_time_clock.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/date_time/microsec_time_clock.hpp
==============================================================================
--- trunk/boost/date_time/microsec_time_clock.hpp (original)
+++ trunk/boost/date_time/microsec_time_clock.hpp 2009-06-04 07:35:44 EDT (Thu, 04 Jun 2009)
@@ -89,7 +89,7 @@
winapi::get_system_time_as_file_time(ft);
uint64_t micros = winapi::file_time_to_microseconds(ft); // it will not wrap, since ft is the current time
// and cannot be before 1970-Jan-01
- std::time_t t = static_cast<time_t>(micros / 1000000UL); // seconds since epoch
+ std::time_t t = static_cast<std::time_t>(micros / 1000000UL); // seconds since epoch
// microseconds -- static casts supress warnings
boost::uint32_t sub_sec = static_cast<boost::uint32_t>(micros % 1000000UL);
#else
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