* typecast that fixes range error, part of mantis #16172

git-svn-id: trunk@19040 -
This commit is contained in:
marco 2011-09-09 20:03:08 +00:00
parent 367be2cd7a
commit d6962106b9

View File

@ -446,7 +446,7 @@ end;
Function FileGetAttr (Const FileName : String) : Longint;
begin
Result:=GetFileAttributes(PChar(FileName));
Result:=Longint(GetFileAttributes(PChar(FileName)));
end;