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:
Phillip Susi 2002-02-02 17:14:40 +00:00
parent c64bcfabad
commit 51357bf8aa

View 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 * 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))