mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
fixed typo and don't use memcpy to just copy a 32bit variable...
svn path=/trunk/; revision=13567
This commit is contained in:
parent
04380923bf
commit
f9f5d87742
2 changed files with 2 additions and 2 deletions
|
@ -297,7 +297,7 @@ GetExitCodeProcess(HANDLE hProcess,
|
|||
return(FALSE);
|
||||
}
|
||||
|
||||
memcpy(lpExitCode, &ProcessBasic.ExitStatus, sizeof(DWORD));
|
||||
*lpExitCode = (DWORD)ProcessBasic.ExitStatus;
|
||||
|
||||
return(TRUE);
|
||||
}
|
||||
|
|
|
@ -121,7 +121,7 @@ NTSTATUS
|
|||
ExpSetTimeZoneInformation(PTIME_ZONE_INFORMATION TimeZoneInformation);
|
||||
|
||||
NTSTATUS
|
||||
ExpAllocateLocallyUniqueId(OUT LUID *LocallyUniqueId);;
|
||||
ExpAllocateLocallyUniqueId(OUT LUID *LocallyUniqueId);
|
||||
|
||||
#define InterlockedDecrementUL(Addend) \
|
||||
(ULONG)InterlockedDecrement((PLONG)(Addend))
|
||||
|
|
Loading…
Reference in a new issue