From: ceriel Date: Fri, 23 Feb 1990 17:05:04 +0000 (+0000) Subject: Oops in assertion: MAXPROCARG instead of MAXPROCARGS X-Git-Tag: release-5-5~1811 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=95632b0fef2ec60b9a8d6b2f53dc12a5acb34854;p=ack.git Oops in assertion: MAXPROCARG instead of MAXPROCARGS --- diff --git a/mach/proto/ncg/codegen.c b/mach/proto/ncg/codegen.c index 6002f1310..0e54d1e6c 100644 --- a/mach/proto/ncg/codegen.c +++ b/mach/proto/ncg/codegen.c @@ -152,7 +152,7 @@ unsigned codegen(codep,ply,toplevel,costlimit,forced) byte *codep; unsigned cost int j, nargs; getint(i,bp); getint(nargs,bp); - assert(nargs < MAXPROCARGS); + assert(nargs < MAXPROCARG); for (j = 0; j < nargs; j++) { getint(procarg[j],bp); }