Bläddra i källkod

* fixed compiler crash due to infinite recursion when compiling boolean to longint conversion on a 16 or 8-bit CPU

git-svn-id: branches/i8086@24135 -
nickysn 12 år sedan
förälder
incheckning
889e8650f1
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      compiler/ncnv.pas

+ 1 - 1
compiler/ncnv.pas

@@ -3079,7 +3079,7 @@ implementation
          { convert to a 64bit int (only necessary for 32bit processors) (JM) }
          if resultdef.size > sizeof(aint) then
            begin
-             result := ctypeconvnode.create_internal(left,s32inttype);
+             result := ctypeconvnode.create_internal(left,sinttype);
              result := ctypeconvnode.create(result,resultdef);
              left := nil;
              firstpass(result);