Commit 488afc47 authored by Max Kellermann's avatar Max Kellermann

time/FileTime: use uint_least64_t

parent 017814ad
......@@ -35,13 +35,13 @@
#include <chrono>
#include <cstdint>
constexpr uint64_t
constexpr uint_least64_t
ConstructUint64(DWORD lo, DWORD hi) noexcept
{
return uint64_t(lo) | (uint64_t(hi) << 32);
return uint_least64_t(lo) | (uint_least64_t(hi) << 32);
}
constexpr uint64_t
constexpr uint_least64_t
ToUint64(FILETIME ft) noexcept
{
return ConstructUint64(ft.dwLowDateTime, ft.dwHighDateTime);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment