mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 10:09:36 +02:00
MSVC 7.1 build fixes
This commit is contained in:
@@ -271,7 +271,7 @@ inline void BSONReader::read<Timestamp>(Timestamp& to)
|
||||
{
|
||||
Poco::Int64 value;
|
||||
_reader >> value;
|
||||
to = Timestamp::fromEpochTime(value / 1000);
|
||||
to = Timestamp::fromEpochTime(static_cast<std::time_t>(value / 1000));
|
||||
to += (value % 1000 * 1000);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user