* Use IncRefCountBy in convert-operator

git-svn-id: trunk@6141 -
This commit is contained in:
pierre 2007-01-23 05:47:59 +00:00
parent 1c77710813
commit 0cfa2a6aad

View File

@ -1560,7 +1560,7 @@ implementation
te_convert_operator :
begin
include(current_procinfo.flags,pi_do_call);
inc(aprocdef.procsym.refs);
aprocdef.procsym.IncRefCountBy(1);
hp:=ccallnode.create(ccallparanode.create(left,nil),Tprocsym(aprocdef.procsym),nil,nil,[]);
{ tell explicitly which def we must use !! (PM) }
tcallnode(hp).procdefinition:=aprocdef;