summaryrefslogtreecommitdiff
path: root/hrtimer.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-25 07:23:22 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-25 07:23:22 -0400
commitd2158984658225d303ca48253f1624be4fd467b0 (patch)
treef9925655bf00e74dc06f1335b49ec6bbecb4ef63 /hrtimer.cpp
parent2c988356a96319414175e907f4166e230cd66615 (diff)
downloadcryptopp-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.cpp2
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))