瀏覽代碼

AROS: 32/64-bit unit amigados compatibility update

Update some amigados record structures to be 32/64-bit compatible.

These changes reflect the changes made in the doslib RTL (that were present in
the previous commit) but note that some of Unit amigados' record structures
were already up to date.
magorium 3 年之前
父節點
當前提交
d207a293c7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/arosunits/src/amigados.pas

+ 2 - 2
packages/arosunits/src/amigados.pas

@@ -625,7 +625,7 @@ type
   TFileHandle = record
     fh_Flags: ULONG;   { EXEC message        }
     {$ifdef CPU64}
-    fh_Port: ULONG;   { Reply port for the packet }
+    fh_Port: LongInt;   { Reply port for the packet }
     {$else}
     fh_Port: PMsgPort;   { Reply port for the packet }
     {$endif}
@@ -639,7 +639,7 @@ type
     fh_Func2: PtrInt;
     fh_Func3: PtrInt;
     fh_Arg1:  PtrInt;
-    fh_Arg2: APTR;
+    fh_Arg2: PtrInt;
     fh_Size: ULONG; // Size of buffered io buffer
     fh_Buf2: BPTR;  // Always the same as fh_Buf
   end;