Browse Source

* range check error fixed

git-svn-id: trunk@20283 -
florian 13 years ago
parent
commit
e79f3a6930
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/mips/cgcpu.pas

+ 1 - 1
compiler/mips/cgcpu.pas

@@ -703,7 +703,7 @@ begin
     list.concat(taicpu.op_reg_reg_const(A_ORI, reg, NR_R0, a))
     list.concat(taicpu.op_reg_reg_const(A_ORI, reg, NR_R0, a))
   else
   else
   begin
   begin
-    list.concat(taicpu.op_reg_const(A_LI, reg, a ));
+    list.concat(taicpu.op_reg_const(A_LI, reg, aint(a) ));
   end;
   end;
 end;
 end;