- Fix bugs in RtlCompareMemory, RtlCompareMemoryULong

svn path=/trunk/; revision=23864
This commit is contained in:
Alex Ionescu 2006-09-01 12:38:57 +00:00
parent 6b8b0b56b2
commit 5244a29dad

View file

@ -67,7 +67,7 @@ NotEqual2:
/* Remember how many mathced */ /* Remember how many mathced */
dec esi dec esi
sub esi, [esp+20] sub esi, [esp+12]
/* Return count */ /* Return count */
mov eax, esi mov eax, esi
@ -89,7 +89,7 @@ _RtlCompareMemoryUlong@12:
/* Do the compare and check result */ /* Do the compare and check result */
repe scasd repe scasd
jz Done jz Done
sub esi, 4 sub edi, 4
/* Return count */ /* Return count */
Done: Done: