From: ceriel Date: Fri, 2 Sep 1988 13:52:11 +0000 (+0000) Subject: fix: assertion was wrong X-Git-Tag: release-5-5~2873 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=83b92a8af2c809778c2a39c9763520c17e33b346;p=ack.git fix: assertion was wrong --- diff --git a/util/ego/ca/ca.c b/util/ego/ca/ca.c index e3f49e632..774525743 100644 --- a/util/ego/ca/ca.c +++ b/util/ego/ca/ca.c @@ -112,7 +112,7 @@ STATIC int makedmap(dbl) for (d = dbl; d != (dblock_p) 0; d = d->d_next) cnt++; dmap = (dblock_p *) newmap(cnt); for (d = dbl; d != (dblock_p) 0; d = d->d_next) { - assert(d->d_id) <= cnt; + assert(d->d_id <= cnt); dmap[d->d_id] = d; } return cnt;