mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 20:09:27 +02:00
* get the count of params from the correct list
this fixes varargs a bit, particularly fixes an unhandled TList bounds exception while compiling packages/fcl-base/src/eventlog.pp git-svn-id: trunk@25636 -
This commit is contained in:
parent
608a449c4a
commit
584e3638ab
@ -286,7 +286,7 @@ unit cpupara;
|
|||||||
|
|
||||||
parasize:=0;
|
parasize:=0;
|
||||||
|
|
||||||
for i:=0 to p.paras.count-1 do
|
for i:=0 to paras.count-1 do
|
||||||
begin
|
begin
|
||||||
hp:=tparavarsym(paras[i]);
|
hp:=tparavarsym(paras[i]);
|
||||||
paradef:=hp.vardef;
|
paradef:=hp.vardef;
|
||||||
|
Loading…
Reference in New Issue
Block a user