From: keie Date: Thu, 12 Jul 1984 12:57:36 +0000 (+0000) Subject: 1 - Header fetch was changed to unsigned. X-Git-Tag: release-5-5~6215 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=d99c21963d0a64c9ebc9237318fe9917eb02607f;p=ack.git 1 - Header fetch was changed to unsigned. 2 - Extra parentheses are needed by some compilers. --- diff --git a/util/ass/ass00.c b/util/ass/ass00.c index 3234b1e24..57dc078fe 100644 --- a/util/ass/ass00.c +++ b/util/ass/ass00.c @@ -125,7 +125,7 @@ argument(arg) char *arg; { return; } inpoff = 2; - if ((w = (unsigned)get16()) == sp_magic ) + if ((w = get16()) == sp_magic ) read_compact(); else if (w == ARMAG) { archmode = TRUE; @@ -323,9 +323,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() ; }