From 70d615c41833f2144f01543e5805c754591608fe Mon Sep 17 00:00:00 2001 From: fireice-uk Date: Sun, 28 May 2017 10:27:32 +0100 Subject: [PATCH] 32+ cpu fix, already rolled in hashed binary --- minethd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minethd.cpp b/minethd.cpp index 02fe275..728abbb 100644 --- a/minethd.cpp +++ b/minethd.cpp @@ -32,7 +32,7 @@ void thd_setaffinity(std::thread::native_handle_type h, uint64_t cpu_id) { - SetThreadAffinityMask(h, 1 << cpu_id); + SetThreadAffinityMask(h, 1ULL << cpu_id); } #else