From b81e71424b6834ff42641268e9ba214d681900c5 Mon Sep 17 00:00:00 2001 From: Tom Lally Date: Thu, 1 Sep 2022 17:27:29 +0100 Subject: [PATCH] Removed unnecessary static_cast --- src/util/SystemInfo/SystemInfoWin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/SystemInfo/SystemInfoWin.cpp b/src/util/SystemInfo/SystemInfoWin.cpp index 601b08d1..a9b43d25 100644 --- a/src/util/SystemInfo/SystemInfoWin.cpp +++ b/src/util/SystemInfo/SystemInfoWin.cpp @@ -36,9 +36,9 @@ void QueryProcTime(uint64_t &out_now, uint64_t &out_user, uint64_t &out_kernel) user.LowPart = fuser.dwLowDateTime; user.HighPart = fuser.dwHighDateTime; - out_now = static_cast(now.QuadPart); - out_user = static_cast(user.QuadPart); - out_kernel = static_cast(kernel.QuadPart); + out_now = now.QuadPart; + out_user = user.QuadPart; + out_kernel = kernel.QuadPart; } void QueryCoreTimes(uint32_t count, ProcessorTime out[])