Fixed compiler warnings.

svn path=/trunk/; revision=4102
This commit is contained in:
Eric Kohl 2003-02-02 17:21:06 +00:00
parent ffebe8dee1
commit 670b6c8678
2 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
/* $Id: shutdown.c,v 1.7 2003/01/07 17:32:59 robd Exp $
/* $Id: shutdown.c,v 1.8 2003/02/02 17:20:51 ekohl Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@ -43,7 +43,7 @@ AbortSystemShutdownA(LPCSTR lpMachineName)
NTSTATUS Status;
BOOL rv;
RtlInitAnsiString(&MachineNameA, lpMachineName);
RtlInitAnsiString(&MachineNameA, (LPSTR)lpMachineName);
Status = RtlAnsiStringToUnicodeString(&MachineNameW, &MachineNameA, TRUE);
if (STATUS_SUCCESS != Status) {
SetLastError(RtlNtStatusToDosError(Status));

View file

@ -1,4 +1,4 @@
/* $Id: ac.c,v 1.5 2002/11/14 18:21:04 chorns Exp $
/* $Id: ac.c,v 1.6 2003/02/02 17:21:06 ekohl Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@ -346,7 +346,7 @@ FindFirstFreeAce (
)
{
return RtlFirstFreeAce (pAcl,
(PACE_HEADER*)pAce);
(PACE*)pAce);
}
@ -362,7 +362,7 @@ GetAce (
Status = RtlGetAce (pAcl,
dwAceIndex,
(PACE_HEADER*)pAce);
(PACE*)pAce);
if (!NT_SUCCESS(Status))
{
SetLastError (RtlNtStatusToDosError (Status));