Cleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW

pull/35/head
Jeffrey Walton 2015-07-25 07:23:22 -04:00
parent 2c988356a9
commit d215898465
1 changed files with 1 additions and 1 deletions

View File

@ -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))