Ver código fonte

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

git-svn-id: trunk@38234 -
svenbarth 7 anos atrás
pai
commit
c87cee09fd
1 arquivos alterados com 1 adições e 1 exclusões
  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;
   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