From 98f9507c1eb3b72996d7c16dd26afd5ee1541d98 Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Wed, 30 Jul 2003 18:35:03 +0000 Subject: [PATCH] cast away warning, reformatted function definition to conform to standard. svn path=/trunk/; revision=5332 --- reactos/lib/ntdll/rtl/encode.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/reactos/lib/ntdll/rtl/encode.c b/reactos/lib/ntdll/rtl/encode.c index 10e9c3311da..eba2dd944c7 100644 --- a/reactos/lib/ntdll/rtl/encode.c +++ b/reactos/lib/ntdll/rtl/encode.c @@ -1,4 +1,4 @@ -/* $Id: encode.c,v 1.1 2003/04/02 00:01:21 hyperion Exp $ +/* $Id: encode.c,v 1.2 2003/07/30 18:35:03 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -18,11 +18,12 @@ /* FUNCTIONS ***************************************************************/ -VOID NTAPI RtlRunDecodeUnicodeString -( - IN UCHAR hash, - IN OUT PUNICODE_STRING uString -) +VOID +NTAPI +RtlRunDecodeUnicodeString( + IN UCHAR hash, + IN OUT PUNICODE_STRING uString + ) { UCHAR *ptr; WORD i; @@ -39,11 +40,12 @@ VOID NTAPI RtlRunDecodeUnicodeString } } -VOID NTAPI RtlRunEncodeUnicodeString -( - IN OUT PUCHAR hash, - IN OUT PUNICODE_STRING uString -) +VOID +NTAPI +RtlRunEncodeUnicodeString( + IN OUT PUCHAR hash, + IN OUT PUNICODE_STRING uString + ) { NTSTATUS ntS; UCHAR *ptr; @@ -52,7 +54,7 @@ VOID NTAPI RtlRunEncodeUnicodeString ptr = (UCHAR *) uString->Buffer; if (*hash == 0) { - ntS = NtQuerySystemTime(&CurrentTime); + ntS = NtQuerySystemTime((PLARGE_INTEGER)&CurrentTime); if (NT_SUCCESS(ntS)) { for (i=1; i