mirror of
https://github.com/reactos/reactos.git
synced 2024-10-16 06:04:13 +00:00
Flipped increment/decrement. Noticed by encoded.
svn path=/trunk/; revision=29408
This commit is contained in:
parent
0abf169695
commit
a21398057a
|
@ -36,12 +36,12 @@ KiUnexpectedInterrupt()
|
||||||
|
|
||||||
LONG NTAPI Exi386InterlockedDecrementLong(PLONG Addend)
|
LONG NTAPI Exi386InterlockedDecrementLong(PLONG Addend)
|
||||||
{
|
{
|
||||||
return _InterlockedIncrement(Addend);
|
return _InterlockedDecrement(Addend);
|
||||||
}
|
}
|
||||||
|
|
||||||
LONG NTAPI Exi386InterlockedIncrementLong(PLONG Addend)
|
LONG NTAPI Exi386InterlockedIncrementLong(PLONG Addend)
|
||||||
{
|
{
|
||||||
return _InterlockedDecrement(Addend);
|
return _InterlockedIncrement(Addend);
|
||||||
}
|
}
|
||||||
|
|
||||||
LONG NTAPI Exi386InterlockedExchangeUlong(PLONG Target, LONG Exch, LONG Compare)
|
LONG NTAPI Exi386InterlockedExchangeUlong(PLONG Target, LONG Exch, LONG Compare)
|
||||||
|
|
Loading…
Reference in a new issue