mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Fixed compiler warnings.
svn path=/trunk/; revision=4102
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user