mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[KERNEL32] Fix 64-bit bug in SetProcessAffinityMask
This commit is contained in:
parent
931224fbe1
commit
642c795531
1 changed files with 1 additions and 1 deletions
|
@ -900,7 +900,7 @@ SetProcessAffinityMask(IN HANDLE hProcess,
|
||||||
Status = NtSetInformationProcess(hProcess,
|
Status = NtSetInformationProcess(hProcess,
|
||||||
ProcessAffinityMask,
|
ProcessAffinityMask,
|
||||||
(PVOID)&dwProcessAffinityMask,
|
(PVOID)&dwProcessAffinityMask,
|
||||||
sizeof(DWORD));
|
sizeof(dwProcessAffinityMask));
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
/* Handle failure */
|
/* Handle failure */
|
||||||
|
|
Loading…
Reference in a new issue