فهرست منبع

AROS: Locks must be BPTR type

Marcus Sackrow 3 سال پیش
والد
کامیت
729d920ed3
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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;