X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=lib%2Fntdll%2Frtl%2Fencode.c;h=14fc711e487c7c6ce648930728c8c2022e4b8913;hp=551f90fecaebcca823219fd56f6b7ab0efaa475c;hb=HEAD;hpb=7c0db166f81fbe8c8b913d7f26048e337d383605 diff --git a/lib/ntdll/rtl/encode.c b/lib/ntdll/rtl/encode.c index 551f90f..14fc711 100644 --- a/lib/ntdll/rtl/encode.c +++ b/lib/ntdll/rtl/encode.c @@ -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