Browse Source

* more aint() type casts replaced by int64() type casts

git-svn-id: trunk@12073 -
Jonas Maebe 16 years ago
parent
commit
c1c1b2deac
1 changed files with 3 additions and 3 deletions
  1. 3 3
      compiler/aopt.pas

+ 3 - 3
compiler/aopt.pas

@@ -90,9 +90,9 @@ Unit aopt;
                    (tai_Label(p).labsym.is_used) Then
                    (tai_Label(p).labsym.is_used) Then
                   Begin
                   Begin
                     LabelFound := True;
                     LabelFound := True;
-                    If (tai_Label(p).labsym.labelnr < aint(LowLabel)) Then
+                    If (tai_Label(p).labsym.labelnr < int64(LowLabel)) Then
                       LowLabel := tai_Label(p).labsym.labelnr;
                       LowLabel := tai_Label(p).labsym.labelnr;
-                    If (tai_Label(p).labsym.labelnr > aint(HighLabel)) Then
+                    If (tai_Label(p).labsym.labelnr > int64(HighLabel)) Then
                       HighLabel := tai_Label(p).labsym.labelnr
                       HighLabel := tai_Label(p).labsym.labelnr
                   End;
                   End;
                 GetNextInstruction(p, p)
                 GetNextInstruction(p, p)
@@ -127,7 +127,7 @@ Unit aopt;
                          (tai_Label(p).labsym.labeltype=alt_jump) then
                          (tai_Label(p).labsym.labeltype=alt_jump) then
                         begin
                         begin
                           LabelIdx:=tai_label(p).labsym.labelnr-LowLabel;
                           LabelIdx:=tai_label(p).labsym.labelnr-LowLabel;
-                          if LabelIdx>aint(LabelDif) then
+                          if LabelIdx>int64(LabelDif) then
                             internalerror(200604202);
                             internalerror(200604202);
                           LabelTable^[LabelIdx].PaiObj := p;
                           LabelTable^[LabelIdx].PaiObj := p;
                         end;
                         end;