From c12218bb63b60893662296d2fbf431f050e65795 Mon Sep 17 00:00:00 2001 From: Rob G <107847375+rgprog@users.noreply.github.com> Date: Mon, 8 Aug 2022 17:19:53 +0100 Subject: [PATCH] Fix SetProcessAffinityMask in winbase See issue #1002 --- src/um/winbase.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/um/winbase.rs b/src/um/winbase.rs index 1891738e2..31f3a754c 100644 --- a/src/um/winbase.rs +++ b/src/um/winbase.rs @@ -491,7 +491,7 @@ extern "system" { ) -> BOOL; pub fn SetProcessAffinityMask( hProcess: HANDLE, - dwProcessAffinityMask: DWORD, + dwProcessAffinityMask: DWORD_PTR, ) -> BOOL; pub fn GetProcessIoCounters( hProcess: HANDLE,