diff --git a/hrtimer.cpp b/hrtimer.cpp index cd268bfa..81ac4eb9 100644 --- a/hrtimer.cpp +++ b/hrtimer.cpp @@ -78,7 +78,7 @@ TimerWord Timer::GetCurrentTimerValue() TimerWord Timer::TicksPerSecond() { #if defined(CRYPTOPP_WIN32_AVAILABLE) - static LARGE_INTEGER freq = {0}; + static LARGE_INTEGER freq = { .QuadPart = 0 }; if (freq.QuadPart == 0) { if (!QueryPerformanceFrequency(&freq))