]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/thread.cpp
More DC changes
[wxWidgets.git] / src / msw / thread.cpp
index 36fc19ef8e22a7b6ff14196f8270dd5ab32bf21a..6b835a97073906ab56c0a5220c3a8def05a8b407 100644 (file)
@@ -996,7 +996,7 @@ bool wxThread::SetConcurrency(size_t WXUNUSED_IN_WINCE(level))
     // set it: we can't link to SetProcessAffinityMask() because it doesn't
     // exist in Win9x, use RT binding instead
 
-    typedef BOOL (*SETPROCESSAFFINITYMASK)(HANDLE, DWORD);
+    typedef BOOL (WINAPI *SETPROCESSAFFINITYMASK)(HANDLE, DWORD_PTR);
 
     // can use static var because we're always in the main thread here
     static SETPROCESSAFFINITYMASK pfnSetProcessAffinityMask = NULL;