mirror of
https://github.com/reactos/reactos.git
synced 2024-10-14 21:25:14 +00:00
- Fix bugs in RtlCompareMemory, RtlCompareMemoryULong
svn path=/trunk/; revision=23864
This commit is contained in:
parent
6b8b0b56b2
commit
5244a29dad
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue