[KERNEL32] Fix 64-bit bug in SetProcessAffinityMask

This commit is contained in:
Timo Kreuzer 2023-11-26 11:31:43 +02:00
parent 931224fbe1
commit 642c795531

View file

@ -900,7 +900,7 @@ SetProcessAffinityMask(IN HANDLE hProcess,
Status = NtSetInformationProcess(hProcess,
ProcessAffinityMask,
(PVOID)&dwProcessAffinityMask,
sizeof(DWORD));
sizeof(dwProcessAffinityMask));
if (!NT_SUCCESS(Status))
{
/* Handle failure */