Преглед на файлове

* Use longint for Tmoveins.id instead of word to prevent overflow in extreme cases.

Yuriy Sydorov преди 3 години
родител
ревизия
4f711a8b2c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      compiler/rgobj.pas

+ 1 - 1
compiler/rgobj.pas

@@ -78,7 +78,7 @@ unit rgobj;
       Tmoveins=class(Tlinkedlistitem)
         moveset:Tmoveset;
         x,y:Tsuperregister;
-        id:tsuperregister;
+        id:longint;
       end;
 
       Tmovelistheader=record