update for HEAD-2003091401
[reactos.git] / lib / ntdll / rtl / encode.c
index 551f90f..14fc711 100644 (file)
 
 /* 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<sizeof(TIME) && (*hash == 0); i++)
             *hash |= *(PUCHAR) (((PUCHAR) &CurrentTime)+i);