Changed NULL to 0 where integer expected, to get rid of warning
authorPhillip Susi <phreak@iag.net>
Sat, 2 Feb 2002 17:14:40 +0000 (17:14 +0000)
committerPhillip Susi <phreak@iag.net>
Sat, 2 Feb 2002 17:14:40 +0000 (17:14 +0000)
Patch by Guido de Jong.

svn path=/trunk/; revision=2590

reactos/lib/ntdll/rtl/security.c

index f770a59..4bec47d 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: security.c,v 1.4 2001/11/21 22:30:45 ekohl Exp $
+/* $Id: security.c,v 1.5 2002/02/02 17:14:40 phreak Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -43,7 +43,7 @@ RtlImpersonateSelf(IN SECURITY_IMPERSONATION_LEVEL ImpersonationLevel)
   Status = NtDuplicateToken(ProcessToken,
                            TOKEN_IMPERSONATE,
                            &ObjectAttributes,
-                           NULL,
+                           0,
                            TokenImpersonation,
                            &ImpersonationToken);
   if (!NT_SUCCESS(Status))