amicommon/sysfile.inc: use THandle instead of LongInt

git-svn-id: trunk@31174 -
This commit is contained in:
Károly Balogh 2015-06-28 23:36:09 +00:00
parent 51a6c217c7
commit c704b4b918

View File

@ -299,7 +299,7 @@ end;
using the same method on all Amiga flavors, but if anyone has
a problem with it, disable this define to revert to the old
method and report the issue. (KB) }
function do_filesize(handle : longint) : longint;
function do_filesize(handle : THandle) : longint;
var
{$IFDEF ASYS_FILESIZE_NO_DOUBLE_SEEK}
fib: PFileInfoBlock;
@ -413,7 +413,7 @@ begin
end;
end;
function do_isdevice(handle: longint): boolean;
function do_isdevice(handle: thandle): boolean;
begin
if (handle=StdOutputHandle) or (handle=StdInputHandle) or
(handle=StdErrorHandle) then