X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d0bf46a34e2422c441ccccd9dffb799999bb6a8..34a336adb6796a596e3d59846bd23370f936921f:/src/msw/thread.cpp diff --git a/src/msw/thread.cpp b/src/msw/thread.cpp index e179d3683f..469ced786b 100644 --- a/src/msw/thread.cpp +++ b/src/msw/thread.cpp @@ -902,7 +902,7 @@ bool wxThread::SetConcurrency(size_t level) // get system affinity mask first HANDLE hProcess = ::GetCurrentProcess(); - DWORD dwProcMask, dwSysMask; + DWORD_PTR dwProcMask, dwSysMask; if ( ::GetProcessAffinityMask(hProcess, &dwProcMask, &dwSysMask) == 0 ) { wxLogLastError(_T("GetProcessAffinityMask")); @@ -983,7 +983,8 @@ bool wxThread::SetConcurrency(size_t level) return false; } -#endif +#endif // !__WXWINCE__ + return true; }