Explorar el Código

* range check error fixed

git-svn-id: trunk@20283 -
florian hace 13 años
padre
commit
e79f3a6930
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;