* string -> shortstring

This commit is contained in:
Michael VAN CANNEYT 2023-01-06 11:01:59 +01:00 committed by Michaël Van Canneyt
parent c19b1d2fd5
commit 9d6a495c02
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ Const
Var Var
fd: Longint; fd: Longint;
S : String; S : AnsiString;
begin begin
fd:=FileOpen(KernelUUID,fmOpenRead or fmShareDenyNone); fd:=FileOpen(KernelUUID,fmOpenRead or fmShareDenyNone);

View File

@ -457,7 +457,7 @@ begin
execpathstr[0]:=AnsiChar(i); execpathstr[0]:=AnsiChar(i);
end; end;
function paramstr(l: longint) : string; function paramstr(l: longint) : shortstring;
begin begin
{ stricly conforming POSIX applications } { stricly conforming POSIX applications }
{ have the executing filename as argv[0] } { have the executing filename as argv[0] }