Flipped increment/decrement. Noticed by encoded.

svn path=/trunk/; revision=29408
This commit is contained in:
Art Yerkes 2007-10-06 08:29:22 +00:00
parent 0abf169695
commit a21398057a

View file

@ -36,12 +36,12 @@ KiUnexpectedInterrupt()
LONG NTAPI Exi386InterlockedDecrementLong(PLONG Addend)
{
return _InterlockedIncrement(Addend);
return _InterlockedDecrement(Addend);
}
LONG NTAPI Exi386InterlockedIncrementLong(PLONG Addend)
{
return _InterlockedDecrement(Addend);
return _InterlockedIncrement(Addend);
}
LONG NTAPI Exi386InterlockedExchangeUlong(PLONG Target, LONG Exch, LONG Compare)