Author: ion
Date: Sat Jul 23 00:29:00 2011
New Revision: 52786
URL:
http://svn.reactos.org/svn/reactos?rev=52786&view=rev
Log:
[KERNEL32]: Reformat (of my own code).
Modified:
trunk/reactos/dll/win32/kernel32/client/synch.c
Modified: trunk/reactos/dll/win32/kernel32/client/synch.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/synch.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/synch.c [iso-8859-1] Sat Jul 23 00:29:00 2011
@@ -1321,8 +1321,7 @@
NTSTATUS Status;
/* Initialize the critical section and raise an exception if we failed */
- Status = RtlInitializeCriticalSection(
- (PRTL_CRITICAL_SECTION)lpCriticalSection);
+ Status = RtlInitializeCriticalSection((PVOID)lpCriticalSection);
if (!NT_SUCCESS(Status)) RtlRaiseStatus(Status);
}
@@ -1337,9 +1336,8 @@
NTSTATUS Status;
/* Initialize the critical section */
- Status = RtlInitializeCriticalSectionAndSpinCount(
- (PRTL_CRITICAL_SECTION)lpCriticalSection,
- dwSpinCount);
+ Status = RtlInitializeCriticalSectionAndSpinCount((PVOID)lpCriticalSection,
+ dwSpinCount);
if (!NT_SUCCESS(Status))
{
/* Set failure code */