update for HEAD-2003021201
[reactos.git] / ntoskrnl / rtl / mem.c
index dfdbdd7..ecf0384 100644 (file)
@@ -64,11 +64,9 @@ MmCopyFromCaller(PVOID Dest, PVOID Src, ULONG NumberOfBytes)
 
 ULONG
 STDCALL
-RtlCompareMemory (
-       PVOID   Source1,
+RtlCompareMemory(PVOID Source1,
        PVOID   Source2,
-       ULONG   Length
-       )
+       ULONG   Length)
 /*
  * FUNCTION: Compares blocks of memory and returns the number of equal bytes
  * ARGUMENTS:
@@ -78,7 +76,7 @@ RtlCompareMemory (
  * RETURNS: Number of equal bytes
  */
 {
-   int i,total;
+   ULONG i,total;
 
    for (i=0,total=0;i<Length;i++)
      {
@@ -109,7 +107,7 @@ RtlCompareMemoryUlong (
 {
        PULONG ptr = (PULONG)Source;
        ULONG  len = Length / sizeof(ULONG);
-       int i;
+       ULONG i;
 
        for (i = 0; i < len; i++)
        {