mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 22:47:59 +02:00
Avoid range check error for 64bit cpu by direct writing to FormatParams array
git-svn-id: trunk@29990 -
This commit is contained in:
parent
da55d9ded2
commit
85a7b9d9cf
@ -2342,7 +2342,8 @@ end;
|
||||
|
||||
procedure AddFormatParam(P: pointer);
|
||||
begin
|
||||
AddFormatParamInt(ptrint(P));
|
||||
Inc(FormatParamCount);
|
||||
FormatParams[FormatParamCount]:=ptrint(P);
|
||||
end;
|
||||
|
||||
procedure AddFormatParamInt(L: longint);
|
||||
|
Loading…
Reference in New Issue
Block a user