mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 04:09:11 +02:00
* typecast that fixes range error, part of mantis #16172
git-svn-id: trunk@19040 -
This commit is contained in:
parent
367be2cd7a
commit
d6962106b9
@ -446,7 +446,7 @@ end;
|
|||||||
|
|
||||||
Function FileGetAttr (Const FileName : String) : Longint;
|
Function FileGetAttr (Const FileName : String) : Longint;
|
||||||
begin
|
begin
|
||||||
Result:=GetFileAttributes(PChar(FileName));
|
Result:=Longint(GetFileAttributes(PChar(FileName)));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user