mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Changed NULL to 0 where integer expected, to get rid of warning
Patch by Guido de Jong. svn path=/trunk/; revision=2590
This commit is contained in:
parent
c64bcfabad
commit
51357bf8aa
1 changed files with 2 additions and 2 deletions
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -43,7 +43,7 @@ RtlImpersonateSelf(IN SECURITY_IMPERSONATION_LEVEL ImpersonationLevel)
|
||||||
Status = NtDuplicateToken(ProcessToken,
|
Status = NtDuplicateToken(ProcessToken,
|
||||||
TOKEN_IMPERSONATE,
|
TOKEN_IMPERSONATE,
|
||||||
&ObjectAttributes,
|
&ObjectAttributes,
|
||||||
NULL,
|
0,
|
||||||
TokenImpersonation,
|
TokenImpersonation,
|
||||||
&ImpersonationToken);
|
&ImpersonationToken);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
|
|
Loading…
Reference in a new issue