Browse Source

* increment should use ofcourse use 1 instead of -1

peter 21 years ago
parent
commit
c1a25f53b6
1 changed files with 5 additions and 2 deletions
  1. 5 2
      rtl/i386/sysutilp.inc

+ 5 - 2
rtl/i386/sysutilp.inc

@@ -38,7 +38,7 @@ end;
 function InterLockedIncrement (var Target: integer) : Integer; assembler;
 asm
 {$ifdef REGCALL}
-        movl    $-1,%edx
+        movl    $1,%edx
         xchgl   %edx,%eax
 {$else}
         movl    Target, %edx
@@ -78,7 +78,10 @@ end;
 
 {
   $Log$
-  Revision 1.3  2003-11-11 21:08:17  peter
+  Revision 1.4  2003-12-23 22:23:34  peter
+    * increment should use ofcourse use 1 instead of -1
+
+  Revision 1.3  2003/11/11 21:08:17  peter
     * REGCALL define added
 
   Revision 1.2  2002/09/07 16:01:19  peter