Author: ion
Date: Fri Sep 1 16:38:57 2006
New Revision: 23864
URL:
http://svn.reactos.org/svn/reactos?rev=23864&view=rev
Log:
- Fix bugs in RtlCompareMemory, RtlCompareMemoryULong
Modified:
trunk/reactos/lib/rtl/i386/rtlmem.s
Modified: trunk/reactos/lib/rtl/i386/rtlmem.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/i386/rtlmem.s?rev=…
==============================================================================
--- trunk/reactos/lib/rtl/i386/rtlmem.s (original)
+++ trunk/reactos/lib/rtl/i386/rtlmem.s Fri Sep 1 16:38:57 2006
@@ -67,7 +67,7 @@
/* Remember how many mathced */
dec esi
- sub esi, [esp+20]
+ sub esi, [esp+12]
/* Return count */
mov eax, esi
@@ -89,7 +89,7 @@
/* Do the compare and check result */
repe scasd
jz Done
- sub esi, 4
+ sub edi, 4
/* Return count */
Done: