From a45394d849213a0a54e3e719cfc281f11d500ec0 Mon Sep 17 00:00:00 2001 From: magorium <10467276-magorium@users.noreply.gitlab.com> Date: Sun, 27 Mar 2022 07:13:55 +0200 Subject: [PATCH] AROS: 64-bit filehandle compatibility fixes for doslibf.inc --- rtl/aros/i386/doslibf.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtl/aros/i386/doslibf.inc b/rtl/aros/i386/doslibf.inc index 14f31a4d62..0f723a18a7 100644 --- a/rtl/aros/i386/doslibf.inc +++ b/rtl/aros/i386/doslibf.inc @@ -13,8 +13,8 @@ **********************************************************************} -function Open(name: PChar; accessMode: longint): Cardinal; syscall AOS_DOSBase 5; -function dosClose(_file: Cardinal): LongBool; syscall AOS_DOSBase 6; +function Open(name: PChar; accessMode: longint): BPTR; syscall AOS_DOSBase 5; +function dosClose(_file: BPTR): LongBool; syscall AOS_DOSBase 6; function dosRead(_file: BPTR; buffer: Pointer; length: longint): longint; syscall AOS_DOSBase 7; function dosWrite(_file: BPTR; buffer: Pointer; length: longint): longint; syscall AOS_DOSBase 8; function dosInput: BPTR; syscall AOS_DOSBase 9;