浏览代码

* fixed compilation with range checking enabled

git-svn-id: trunk@28447 -
Jonas Maebe 11 年之前
父节点
当前提交
e21d31dc99
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/arm/narmadd.pas

+ 1 - 1
compiler/arm/narmadd.pas

@@ -429,7 +429,7 @@ interface
               begin
               begin
                 {Just check for the MSB in reghi to be set or not, this is independed from nf_swapped}
                 {Just check for the MSB in reghi to be set or not, this is independed from nf_swapped}
                 location.resflags:=F_NE;
                 location.resflags:=F_NE;
-                current_asmdata.CurrAsmList.concat(taicpu.op_reg_const(A_TST,left.location.register64.reghi, $80000000));
+                current_asmdata.CurrAsmList.concat(taicpu.op_reg_const(A_TST,left.location.register64.reghi, aint($80000000)));
               end
               end
             else
             else
               begin
               begin