浏览代码

* fix compilation with -Cr

git-svn-id: trunk@36276 -
florian 8 年之前
父节点
当前提交
ddfaf59626
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      compiler/i386/cgcpu.pas

+ 2 - 2
compiler/i386/cgcpu.pas

@@ -1006,9 +1006,9 @@ unit cgcpu;
         case op of
           OP_AND,OP_OR,OP_XOR:
             begin
-              cg.a_op_const_ref(list,op,OS_32,tcgint(lo(value)),tempref);
+              cg.a_op_const_ref(list,op,OS_32,aint(lo(value)),tempref);
               inc(tempref.offset,4);
-              cg.a_op_const_ref(list,op,OS_32,tcgint(hi(value)),tempref);
+              cg.a_op_const_ref(list,op,OS_32,aint(hi(value)),tempref);
             end;
           OP_ADD, OP_SUB:
             begin