diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-03-29 00:01:57 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-03-29 00:04:47 +0200 |
| commit | cefacef8befa30050a27f008ec57cb7764af1c1d (patch) | |
| tree | dfa0c9c930feadceefcd75f538afe45e0522ccd9 /compat/timer.cpp | |
| parent | 66f541ee1d2c1ea2cd760cec74338b90208821f5 (diff) | |
compat/timer: fix lupdate on number separator
Diffstat (limited to 'compat/timer.cpp')
| -rw-r--r-- | compat/timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/timer.cpp b/compat/timer.cpp index e68b6d8d..fdea185a 100644 --- a/compat/timer.cpp +++ b/compat/timer.cpp @@ -66,7 +66,7 @@ void Timer::gettime(timespec* state) BOOL ret = QueryPerformanceCounter(&d); assert(ret && "QueryPerformanceCounter failed"); - constexpr int nsec = 1'000'000'000; + constexpr int nsec = 1'000'000 * 1000; state->tv_sec = (time_t)(d.QuadPart/freq); state->tv_nsec = (decltype(state->tv_nsec))(d.QuadPart % freq * nsec / freq); } |
