--- trunk/reactos/lib/rtl/sd.c 2005-12-21 15:38:51 UTC (rev 20285)
+++ trunk/reactos/lib/rtl/sd.c 2005-12-21 18:03:28 UTC (rev 20286)
@@ -425,8 +425,8 @@
* @implemented
*/
NTSTATUS NTAPI
-RtlMakeSelfRelativeSD(PISECURITY_DESCRIPTOR AbsSD,
- PISECURITY_DESCRIPTOR_RELATIVE RelSD,
+RtlMakeSelfRelativeSD(PSECURITY_DESCRIPTOR _AbsSD,
+ PSECURITY_DESCRIPTOR _RelSD,
PULONG BufferLength)
{
PSID Owner;
@@ -439,7 +439,9 @@
ULONG DaclLength;
ULONG TotalLength;
ULONG_PTR Current;
-
+ PISECURITY_DESCRIPTOR AbsSD = (PISECURITY_DESCRIPTOR)_AbsSD;
+ PISECURITY_DESCRIPTOR_RELATIVE RelSD = (PISECURITY_DESCRIPTOR_RELATIVE)_RelSD;
+
PAGED_CODE_RTL();
RtlpQuerySecurityDescriptor(AbsSD,
@@ -522,7 +524,7 @@
return STATUS_BAD_DESCRIPTOR_FORMAT;
}
- return RtlMakeSelfRelativeSD(AbsSD, (PISECURITY_DESCRIPTOR_RELATIVE)RelSD, BufferLength);
+ return RtlMakeSelfRelativeSD(AbsSD, (PSECURITY_DESCRIPTOR)RelSD, BufferLength);
}