[NTOSKRNL] Use proper enum type for IopCreateSecurityDescriptorPerType()
authorPierre Schweitzer <pierre@reactos.org>
Tue, 4 Dec 2018 18:20:47 +0000 (19:20 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Tue, 4 Dec 2018 18:20:47 +0000 (19:20 +0100)
ntoskrnl/include/internal/io.h
ntoskrnl/io/iomgr/device.c

index 5835c66..8ae32a0 100644 (file)
@@ -527,7 +527,7 @@ typedef struct _RESERVE_IRP_ALLOCATOR
 } RESERVE_IRP_ALLOCATOR, *PRESERVE_IRP_ALLOCATOR;
 
 //
-//
+// Type selection for IopCreateSecurityDescriptorPerType()
 //
 typedef enum _SECURITY_DESCRIPTOR_TYPE
 {
index 7d17ce9..3810dd5 100644 (file)
@@ -727,7 +727,7 @@ IopVerifyDeviceObjectOnStack(IN PDEVICE_OBJECT BaseDeviceObject,
 NTSTATUS
 NTAPI
 IopCreateSecurityDescriptorPerType(IN PSECURITY_DESCRIPTOR SecurityDescriptor,
-                                   IN ULONG Type,
+                                   IN SECURITY_DESCRIPTOR_TYPE Type,
                                    OUT PULONG OutputFlags)
 {
     PACL Dacl;