From b9ce427344afeda52326d4488908981b8cb060b6 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 29 Mar 2016 13:25:03 -0700 Subject: [PATCH] use c-style casts to respect the coding standard --- libraries/shared/src/PortableHighResolutionClock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/shared/src/PortableHighResolutionClock.cpp b/libraries/shared/src/PortableHighResolutionClock.cpp index b12798503e..55dd61707c 100644 --- a/libraries/shared/src/PortableHighResolutionClock.cpp +++ b/libraries/shared/src/PortableHighResolutionClock.cpp @@ -24,7 +24,7 @@ namespace { win_high_resolution_clock::time_point win_high_resolution_clock::now() { LARGE_INTEGER count; QueryPerformanceCounter(&count); - return time_point(duration(static_cast(double(count.QuadPart) * double(period::den) / double(g_Frequency)))); + return time_point(duration(static_cast((double) count.QuadPart * (double) period::den / (double)g_Frequency))); } #endif