Ver Fonte

* range check error fixed

git-svn-id: trunk@20283 -
florian há 13 anos atrás
pai
commit
e79f3a6930
1 ficheiros alterados com 1 adições e 1 exclusões
  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))
   else
   begin
-    list.concat(taicpu.op_reg_const(A_LI, reg, a ));
+    list.concat(taicpu.op_reg_const(A_LI, reg, aint(a) ));
   end;
 end;