Browse Source

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

Yuriy Sydorov 3 years ago
parent
commit
4f711a8b2c
1 changed files with 1 additions and 1 deletions
  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