diff options
author | fireice-uk <fireice2@o2.pl> | 2017-04-10 17:47:33 +0100 |
---|---|---|
committer | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-04-21 10:33:25 +0100 |
commit | a93d71cd10b2c2a0bee2bd106cae0288145e42b0 (patch) | |
tree | 94d170dc5a4ada91c9f112e44254632fe1c62b89 /minethd.cpp | |
parent | 8b6048d21f208d772ace6f9a31099096d0125e2a (diff) | |
download | xmr-stak-a93d71cd10b2c2a0bee2bd106cae0288145e42b0.zip xmr-stak-a93d71cd10b2c2a0bee2bd106cae0288145e42b0.tar.gz |
Fix priority for 32+ CPUs
Diffstat (limited to 'minethd.cpp')
-rw-r--r-- | minethd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/minethd.cpp b/minethd.cpp index 27f7271..55bf9e7 100644 --- a/minethd.cpp +++ b/minethd.cpp @@ -33,7 +33,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 #include <pthread.h> |