[ros-diffs] [arty] 29408: Flipped increment/decrement. Noticed by encoded.
arty at svn.reactos.org
arty at svn.reactos.org
Sat Oct 6 10:29:22 CEST 2007
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.c?rev=29408&r1=29407&r2=29408&view=diff
==============================================================================
--- 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)
More information about the Ros-diffs
mailing list