浏览代码

* invalid typecast

git-svn-id: trunk@8526 -
peter 18 年之前
父节点
当前提交
e10c55d73c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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