From b9a85c7dcd4893530aeefbb9e9d7f059aef900e6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 26 Jun 2021 18:34:46 -0600 Subject: [PATCH] compilation error fix for windows --- libs/pbd/microseconds.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/pbd/microseconds.cc b/libs/pbd/microseconds.cc index 2d0810fb74..721f22fbbc 100644 --- a/libs/pbd/microseconds.cc +++ b/libs/pbd/microseconds.cc @@ -54,7 +54,7 @@ PBD::get_microseconds () if (time_rate_usecs) { if (QueryPerformanceCounter (&time)) { - return (microseconds_t) (current_val.QuadPart * timer_rate_us); + return (microseconds_t) (time.QuadPart * timer_rate_us); } }