Avoid range check error for 64bit cpu by direct writing to FormatParams array

git-svn-id: trunk@29990 -
This commit is contained in:
pierre 2015-02-24 16:01:11 +00:00
parent da55d9ded2
commit 85a7b9d9cf

View File

@ -2342,7 +2342,8 @@ end;
procedure AddFormatParam(P: pointer);
begin
AddFormatParamInt(ptrint(P));
Inc(FormatParamCount);
FormatParams[FormatParamCount]:=ptrint(P);
end;
procedure AddFormatParamInt(L: longint);