Bug fix: copied wrong size to destination in structure returns

This commit is contained in:
ceriel
1997-07-01 08:33:13 +00:00
parent 8b112a5f65
commit 0418600539
2 changed files with 2 additions and 2 deletions

View File

@@ -319,7 +319,7 @@ end_proc(fbytes)
if (return_expr_occurred) {
if (func_res_label != 0) {
C_lae_dlb(func_res_label, (arith)0);
store_block(func_size, func_type->tp_align);
store_block(func_type->tp_size, func_type->tp_align);
C_lae_dlb(func_res_label, (arith)0);
C_ret(pointer_size);
}