Browse Source

m68k: convert non-int paraloc sizes to int in a_load_ref_cgpara, fixes build breaks with softfpu since r33651

git-svn-id: trunk@33653 -
Károly Balogh 9 năm trước cách đây
mục cha
commit
2e9ed396b4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      compiler/m68k/cgcpu.pas

+ 1 - 1
compiler/m68k/cgcpu.pas

@@ -361,7 +361,7 @@ unit cgcpu;
           reference_reset_base(ref, NR_STACK_POINTER_REG, 0, tcgsize2size[pushsize]);
           ref.direction := dir_dec;
 
-          a_load_ref_ref(list,paraloc^.size,pushsize,href,ref);
+          a_load_ref_ref(list,int_cgsize(tcgsize2size[paraloc^.size]),pushsize,href,ref);
         end;
 
       var