Author: arty
Date: Sat Oct 6 12:29:22 2007
New Revision: 29408
URL:
http://svn.reactos.org/svn/reactos?rev=29408&view=rev
Log:
Flipped increment/decrement. Noticed by encoded.
Modified:
trunk/reactos/ntoskrnl/ke/powerpc/stubs.c
Modified: trunk/reactos/ntoskrnl/ke/powerpc/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/powerpc/stubs.…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/powerpc/stubs.c (original)
+++ trunk/reactos/ntoskrnl/ke/powerpc/stubs.c Sat Oct 6 12:29:22 2007
@@ -36,12 +36,12 @@
LONG NTAPI Exi386InterlockedDecrementLong(PLONG Addend)
{
+ return _InterlockedDecrement(Addend);
+}
+
+LONG NTAPI Exi386InterlockedIncrementLong(PLONG Addend)
+{
return _InterlockedIncrement(Addend);
-}
-
-LONG NTAPI Exi386InterlockedIncrementLong(PLONG Addend)
-{
- return _InterlockedDecrement(Addend);
}
LONG NTAPI Exi386InterlockedExchangeUlong(PLONG Target, LONG Exch, LONG Compare)