* use the type information *parameter* not the unitialized parameter

git-svn-id: trunk@38234 -
This commit is contained in:
svenbarth 2018-02-13 19:26:21 +00:00
parent 291ee4b562
commit c87cee09fd

View File

@ -613,7 +613,7 @@ procedure fpc_dynarray_concat_multi(var dest : pointer; pti: pointer; const sarr
{eletype,}eletypemngd : pointer;
begin
{ the destination is overwritten in each case, so clear it }
fpc_dynarray_clear(dest,ti);
fpc_dynarray_clear(dest,pti);
{ sanity check }
if length(sarr)=0 then