Explorar o código

* invalid typecast

git-svn-id: trunk@8526 -
peter %!s(int64=18) %!d(string=hai) anos
pai
achega
e10c55d73c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/optunrol.pas

+ 1 - 1
compiler/optunrol.pas

@@ -106,7 +106,7 @@ unit optunrol;
                 for i:=1 to unrolls do
                   begin
                     { create and insert copy of the statement block }
-                    addstatement(unrollstatement,tfornode(tfornode(node).t2).getcopy);
+                    addstatement(unrollstatement,tfornode(node).t2.getcopy);
 
                     { set and insert entry label? }
                     if (counts mod unrolls<>0) and