Browse Source

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

git-svn-id: trunk@38234 -
svenbarth 7 years ago
parent
commit
c87cee09fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/inc/dynarr.inc

+ 1 - 1
rtl/inc/dynarr.inc

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