https://git.reactos.org/?p=reactos.git;a=commitdiff;h=67e73991645c36e82f9c25b073e6e089eb87e968
commit 67e73991645c36e82f9c25b073e6e089eb87e968 Author: Pierre Schweitzer <pie...@reactos.org> AuthorDate: Tue Dec 4 19:20:47 2018 +0100 Commit: Pierre Schweitzer <pie...@reactos.org> CommitDate: Tue Dec 4 19:20:47 2018 +0100 [NTOSKRNL] Use proper enum type for IopCreateSecurityDescriptorPerType() --- ntoskrnl/include/internal/io.h | 2 +- ntoskrnl/io/iomgr/device.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ntoskrnl/include/internal/io.h b/ntoskrnl/include/internal/io.h index 5835c66aa3..8ae32a0dc5 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 7d17ce9551..3810dd587c 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;