mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 17:29:33 +02:00
* addition to r32779: also fix the type correctness of the array parameter
to fpc_initialize_array() git-svn-id: trunk@33723 -
This commit is contained in:
parent
04c5d2ee6e
commit
ffe4e7fada
@ -4979,6 +4979,7 @@ implementation
|
|||||||
else
|
else
|
||||||
highloc.loc:=LOC_INVALID;
|
highloc.loc:=LOC_INVALID;
|
||||||
eldef:=tarraydef(tparavarsym(p).vardef).elementdef;
|
eldef:=tarraydef(tparavarsym(p).vardef).elementdef;
|
||||||
|
g_ptrtypecast_ref(list,cpointerdef.getreusable(tparavarsym(p).vardef),cpointerdef.getreusable(eldef),href);
|
||||||
g_array_rtti_helper(list,eldef,href,highloc,'fpc_initialize_array');
|
g_array_rtti_helper(list,eldef,href,highloc,'fpc_initialize_array');
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user