Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
2482-fixup-win32-Use-QPC-timer-on-Windows.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2482-fixup-win32-Use-QPC-timer-on-Windows.patch of Package erlang
From 3829271ef98a1cae99f83c50b5c77350616b6474 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson <dgud@erlang.org> Date: Tue, 4 Aug 2020 16:40:39 +0200 Subject: [PATCH 2/2] fixup! win32: Use QPC timer on Windows --- erts/emulator/sys/win32/sys_time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erts/emulator/sys/win32/sys_time.c b/erts/emulator/sys/win32/sys_time.c index a14b9dd2c0..9f4f73dd2d 100644 --- a/erts/emulator/sys/win32/sys_time.c +++ b/erts/emulator/sys/win32/sys_time.c @@ -161,7 +161,7 @@ os_monotonic_time_qpc(void) temp = (ErtsMonotonicTime) pc.QuadPart; } while(!(temp & SKIP)); - return temp & (0xFFFFFFFFFFFFFFFF-SKIP); + return temp & (ERTS_I64_LITERAL(0xFFFFFFFFFFFFFFFF)-SKIP); } static void -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor