Synchronize with trunk.
[reactos.git] / ntoskrnl / ob / obdir.c
index cf48553..a4a2a60 100644 (file)
@@ -768,7 +768,7 @@ NtCreateDirectoryObject(OUT PHANDLE DirectoryHandle,
 
     /* Setup the object */
     RtlZeroMemory(Directory, sizeof(OBJECT_DIRECTORY));
-    ExInitializePushLock((PULONG_PTR)&Directory->Lock);
+    ExInitializePushLock(&Directory->Lock);
     Directory->SessionId = -1;
 
     /* Insert it into the handle table */