mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 04:29:28 +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
|
||||
highloc.loc:=LOC_INVALID;
|
||||
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');
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user