some compilers (Multimax) did not understand the sizeof constructions used
authorceriel <none@none>
Wed, 9 Mar 1988 11:42:54 +0000 (11:42 +0000)
committerceriel <none@none>
Wed, 9 Mar 1988 11:42:54 +0000 (11:42 +0000)
util/ass/ass00.c

index 7fdd3b1..a184d6c 100644 (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() ;
 }