Explorar el Código

AROS: Locks must be BPTR type

Marcus Sackrow hace 3 años
padre
commit
729d920ed3
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      rtl/amicommon/paramhandling.inc
  2. 1 1
      rtl/aros/system.pp

+ 1 - 1
rtl/amicommon/paramhandling.inc

@@ -162,7 +162,7 @@ end;
 function GetProgDir: string;
 var
   s1: string;
-  alock: LongInt;
+  alock: BPTR;
   counter: Byte;
 begin
   GetProgDir := '';

+ 1 - 1
rtl/aros/system.pp

@@ -90,7 +90,7 @@ implementation
 type
     PWBArg = ^TWBArg;
     TWBArg = record
-        wa_Lock         : LongInt;      { a lock descriptor }
+        wa_Lock         : BPTR;      { a lock descriptor }
         wa_Name         : PChar;       { a string relative to that lock }
     end;