소스 검색

* fixup for r32338: to reset a typeconvn, its convtype must also be set
back to tc_none

git-svn-id: trunk@32342 -

Jonas Maebe 9 년 전
부모
커밋
18ad8fc004
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      compiler/ncnv.pas

+ 1 - 0
compiler/ncnv.pas

@@ -2601,6 +2601,7 @@ implementation
               { may change the type conversion, e.g. if the old conversion was
                 from 64 bit to a 64 bit, and now becomes 64 bit to 32 bit }
               n.resultdef:=nil;
+              ttypeconvnode(n).convtype:=tc_none;
               typecheckpass(n);
             end;
           else