diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-25 07:23:22 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-25 07:23:22 -0400 |
commit | d2158984658225d303ca48253f1624be4fd467b0 (patch) | |
tree | f9925655bf00e74dc06f1335b49ec6bbecb4ef63 /hrtimer.cpp | |
parent | 2c988356a96319414175e907f4166e230cd66615 (diff) | |
download | cryptopp-git-d2158984658225d303ca48253f1624be4fd467b0.tar.gz |
Cleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW
Diffstat (limited to 'hrtimer.cpp')
-rw-r--r-- | hrtimer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |