Quellcode durchsuchen

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

git-svn-id: trunk@29990 -
pierre vor 10 Jahren
Ursprung
Commit
85a7b9d9cf
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      ide/wviews.pas

+ 2 - 1
ide/wviews.pas

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