some compilers (Multimax) did not understand the sizeof constructions used

This commit is contained in:
ceriel 1988-03-09 11:42:54 +00:00
parent 4b79636b8f
commit 41007486bf

View file

@ -317,9 +317,9 @@ initproc() {
pstate.s_fline= lnp_cast 0 ;
pstate.s_fdata= l_data ;
pstate.s_locl = (locl_t (*)[])
getarea(LOCLABSIZE * sizeof (*(pstate.s_locl))[0]);
getarea(LOCLABSIZE * sizeof ((*(pstate.s_locl))[0]));
zero(chp_cast pstate.s_locl,
LOCLABSIZE * (unsigned) sizeof (*(pstate.s_locl))[0]);
LOCLABSIZE * (unsigned) sizeof ((*(pstate.s_locl))[0]));
if ( memflg>2 ) memuse() ;
}