mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 11:29:24 +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;
|
||||
begin
|
||||
Result:=GetFileAttributes(PChar(FileName));
|
||||
Result:=Longint(GetFileAttributes(PChar(FileName)));
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user