fixed typo and don't use memcpy to just copy a 32bit variable... Modified: trunk/reactos/lib/kernel32/process/proc.c Modified: trunk/reactos/ntoskrnl/include/internal/ex.h _____
Modified: trunk/reactos/lib/kernel32/process/proc.c --- trunk/reactos/lib/kernel32/process/proc.c 2005-02-14 16:41:53 UTC (rev 13566) +++ trunk/reactos/lib/kernel32/process/proc.c 2005-02-14 16:49:36 UTC (rev 13567) @@ -297,7 +297,7 @@
return(FALSE); }
- memcpy(lpExitCode, &ProcessBasic.ExitStatus, sizeof(DWORD)); + *lpExitCode = (DWORD)ProcessBasic.ExitStatus;
return(TRUE); } _____
Modified: trunk/reactos/ntoskrnl/include/internal/ex.h --- trunk/reactos/ntoskrnl/include/internal/ex.h 2005-02-14 16:41:53 UTC (rev 13566) +++ trunk/reactos/ntoskrnl/include/internal/ex.h 2005-02-14 16:49:36 UTC (rev 13567) @@ -121,7 +121,7 @@
ExpSetTimeZoneInformation(PTIME_ZONE_INFORMATION TimeZoneInformation);
NTSTATUS -ExpAllocateLocallyUniqueId(OUT LUID *LocallyUniqueId);; +ExpAllocateLocallyUniqueId(OUT LUID *LocallyUniqueId);
#define InterlockedDecrementUL(Addend) \ (ULONG)InterlockedDecrement((PLONG)(Addend))