Skip to content

Commit b7d3e8b

Browse files
committed
Remove needless cast.
1 parent e2818b8 commit b7d3e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/src/utilities/asyncrt_utils.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ utility::string_t datetime::to_string(date_format format) const
759759
}
760760

761761
const int64_t epochAdjusted = static_cast<int64_t>(m_interval) - NtTo1900OffsetInterval;
762-
const int64_t secondsSince1900 = static_cast<int64_t>(epochAdjusted / _secondTicks); // convert to seconds
762+
const int64_t secondsSince1900 = epochAdjusted / _secondTicks; // convert to seconds
763763
const int fracSec = static_cast<int>(epochAdjusted % _secondTicks);
764764

765765
const auto yearData = compute_year(secondsSince1900);

0 commit comments

Comments
 (0)