Cleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW
parent
2c988356a9
commit
d215898465
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue