diff options
author | rpj <rpj> | 2004-05-06 00:55:13 +0000 |
---|---|---|
committer | rpj <rpj> | 2004-05-06 00:55:13 +0000 |
commit | 78b1607406fe42603b8aedd7642d1e4f944ee810 (patch) | |
tree | 752d8558e70c5590fe02a0cd35808aa75312082a /ptw32_getprocessors.c | |
parent | 87441bbe5d3dae5e60f8ccf398aa2e17c1ad7b7a (diff) |
''
Diffstat (limited to 'ptw32_getprocessors.c')
-rw-r--r-- | ptw32_getprocessors.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ptw32_getprocessors.c b/ptw32_getprocessors.c index ddb387a..01dfa3a 100644 --- a/ptw32_getprocessors.c +++ b/ptw32_getprocessors.c @@ -55,15 +55,15 @@ int ptw32_getprocessors(int * count) { - DWORD vProcessCPUs; - DWORD vSystemCPUs; + DWORD_PTR vProcessCPUs; + DWORD_PTR vSystemCPUs; int result = 0; if (GetProcessAffinityMask(GetCurrentProcess(), &vProcessCPUs, &vSystemCPUs)) { - DWORD bit; + DWORD_PTR bit; int CPUs = 0; for (bit = 1; bit != 0; bit <<= 1) |