Commit in reactos/lib/rtl on MAIN
mem.c+6-71.2 -> 1.3
- Replace WIN32 types by corresponding native types.
- Replace debug macros and fix potential 64bit issues (pointers casted to DWORDs).

reactos/lib/rtl
mem.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- mem.c	5 Aug 2004 18:17:36 -0000	1.2
+++ mem.c	25 Nov 2004 19:25:06 -0000	1.3
@@ -1,5 +1,5 @@
 
-/* $Id: mem.c,v 1.2 2004/08/05 18:17:36 ion Exp $
+/* $Id: mem.c,v 1.3 2004/11/25 19:25:06 ekohl Exp $
  * 
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -39,14 +39,13 @@
  *
  * @implemented
  */
-ULONG
-STDCALL
-RtlCompareMemory(PVOID Source1,
-                 PVOID Source2,
-                 ULONG Length)
+ULONG STDCALL
+RtlCompareMemory(IN const VOID *Source1,
+                 IN const VOID *Source2,
+                 IN SIZE_T Length)
 {
    SIZE_T i;
-   for(i=0; (i<Length) && (((LPBYTE)Source1)[i]==((LPBYTE)Source2)[i]); i++)
+   for(i=0; (i<Length) && (((PUCHAR)Source1)[i]==((PUCHAR)Source2)[i]); i++)
       ;
    return i;
 }
CVSspam 0.2.8