Explorar o código

* fixed a_param_ref for large parameters

git-svn-id: trunk@2854 -
Jonas Maebe %!s(int64=19) %!d(string=hai) anos
pai
achega
20160f1a35
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/cgobj.pas

+ 1 - 1
compiler/cgobj.pas

@@ -817,7 +817,7 @@ implementation
                  ref.offset:=cgpara.location^.reference.offset;
                  { use concatcopy, because it can also be a float which fails when
                    load_ref_ref is used }
-                 g_concatcopy(list,r,ref,tcgsize2size[size]);
+                 g_concatcopy(list,r,ref,cgpara.intsize);
               end
             else
               internalerror(2002071004);