WSL/SLF GitLab Repository

Commit 688170a7 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

(hopefully) the last small tweak to keep all compilers happy (for now)

parent 106004ae
......@@ -96,7 +96,7 @@ double Timer::getCurrentTime() {
uli.HighPart = fileTime.dwHighDateTime;
const ULONGLONG units_convert = 10000*1000; //it gives the time since 1 January 1601 (UTC) in units of 100ns
const ULONGLONG offset_to_epoch = 11644473600; //offset in seconds to Unix epoch, 134774 days * 24*3600
const ULONGLONG offset_to_epoch = 11644473600ULL; //offset in seconds to Unix epoch, 134774 days * 24*3600
return (double)(uli.QuadPart/units_convert - offset_to_epoch);
}
#else
......
Supports Markdown
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