Browse Source

* 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 years ago
parent
commit
18ad8fc004
1 changed files with 1 additions and 0 deletions
  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