diff options
author | Victor Leschuk <vleschuk@gmail.com> | 2011-10-06 19:53:42 +0400 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2011-10-07 11:04:04 -0400 |
commit | 600dc6255971bfe152767c67e7ca6866fb1541ea (patch) | |
tree | 8e2a4cc37c1c6c351776621c2582a82c2935d626 | |
parent | 030d7acf7d7b3fd51e3160a0515af93d81143716 (diff) | |
download | bitcoin-600dc6255971bfe152767c67e7ca6866fb1541ea.tar.xz |
Fix for 64bit build
-rw-r--r-- | src/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h index 3d7ef108b4..6ecc92b2b6 100644 --- a/src/util.h +++ b/src/util.h @@ -662,8 +662,8 @@ inline bool AffinityBugWorkaround(void(*pfn)(void*)) { #ifdef __WXMSW__ // Sometimes after a few hours affinity gets stuck on one processor - DWORD dwProcessAffinityMask = -1; - DWORD dwSystemAffinityMask = -1; + DWORD_PTR dwProcessAffinityMask = -1; + DWORD_PTR dwSystemAffinityMask = -1; GetProcessAffinityMask(GetCurrentProcess(), &dwProcessAffinityMask, &dwSystemAffinityMask); DWORD dwPrev1 = SetThreadAffinityMask(GetCurrentThread(), dwProcessAffinityMask); DWORD dwPrev2 = SetThreadAffinityMask(GetCurrentThread(), dwProcessAffinityMask); |