瀏覽代碼

* fixed internalerror on win64 after r21696 (source register size depends on
the platform, mantis #22316)

git-svn-id: trunk@21715 -

Jonas Maebe 13 年之前
父節點
當前提交
571b3feab1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/ncgcal.pas

+ 1 - 1
compiler/ncgcal.pas

@@ -972,7 +972,7 @@ implementation
            begin
              cgpara.init;
              paramanager.getintparaloc(pocall_default,1,s32inttype,cgpara);
-             cg.a_load_reg_cgpara(current_asmdata.CurrAsmList,OS_S32,NR_FUNCTION_RESULT_REG,cgpara);
+             cg.a_load_reg_cgpara(current_asmdata.CurrAsmList,OS_INT,NR_FUNCTION_RESULT_REG,cgpara);
              paramanager.freecgpara(current_asmdata.CurrAsmList,cgpara);
              cgpara.done;
              cg.g_call(current_asmdata.CurrAsmList,'FPC_SAFECALLCHECK');