From: Pierre Schweitzer Date: Tue, 4 Dec 2018 18:20:47 +0000 (+0100) Subject: [NTOSKRNL] Use proper enum type for IopCreateSecurityDescriptorPerType() X-Git-Tag: 0.4.12-dev~36 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=67e73991645c36e82f9c25b073e6e089eb87e968 [NTOSKRNL] Use proper enum type for IopCreateSecurityDescriptorPerType() --- diff --git a/ntoskrnl/include/internal/io.h b/ntoskrnl/include/internal/io.h index 5835c66aa31..8ae32a0dc5c 100644 --- a/ntoskrnl/include/internal/io.h +++ b/ntoskrnl/include/internal/io.h @@ -527,7 +527,7 @@ typedef struct _RESERVE_IRP_ALLOCATOR } RESERVE_IRP_ALLOCATOR, *PRESERVE_IRP_ALLOCATOR; // -// +// Type selection for IopCreateSecurityDescriptorPerType() // typedef enum _SECURITY_DESCRIPTOR_TYPE { diff --git a/ntoskrnl/io/iomgr/device.c b/ntoskrnl/io/iomgr/device.c index 7d17ce95516..3810dd587c4 100644 --- a/ntoskrnl/io/iomgr/device.c +++ b/ntoskrnl/io/iomgr/device.c @@ -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;