]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/thread.cpp
fixed Xcode 1.2 warnings; code cleanup
[wxWidgets.git] / src / msw / thread.cpp
index e179d3683f46fbc1e85199991421a16f80a14278..469ced786b44ebabbe4ea8866e854061e55e4e0c 100644 (file)
@@ -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;
 }