From 4eb84b928b7fdcbf442cd5da48a270e5d723537e Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 26 Mar 1987 11:05:28 +0000 Subject: [PATCH] align parameters on word_size, not word_align --- lang/cem/cemcom/idf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/cem/cemcom/idf.c b/lang/cem/cemcom/idf.c index 80a0d05fe..fc0db651b 100644 --- a/lang/cem/cemcom/idf.c +++ b/lang/cem/cemcom/idf.c @@ -607,7 +607,7 @@ declare_formals(fp) word boundaries, i.e. take care that the following parameter starts on a new word boundary. */ - f_offset = align(f_offset + def->df_type->tp_size, word_align); + f_offset = align(f_offset + def->df_type->tp_size, (int) word_size); formal_cvt(def); /* cvt int to char or short, if necessary */ se = se->next; def->df_level = L_FORMAL2; /* CJ */