From 5d281e0fd09029f8703bc3c2019992e2d931da89 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Tue, 24 Sep 2024 11:04:01 -0500 Subject: [PATCH] fix --- support/src/utils/time.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/src/utils/time.cpp b/support/src/utils/time.cpp index 3460cfb1..968936b6 100644 --- a/support/src/utils/time.cpp +++ b/support/src/utils/time.cpp @@ -83,6 +83,6 @@ auto unix_time_to_windows_time(std::uint64_t unix_time) -> std::uint64_t { } auto windows_time_to_unix_time(std::uint64_t win_time) -> std::uint64_t { - return (win_time * WIN32_TIME_NANOS_PER_TICK) - WIN32_TIME_CONVERSION; + return (win_time - WIN32_TIME_CONVERSION) * WIN32_TIME_NANOS_PER_TICK; } } // namespace repertory::utils::time